Enum diesel::serialize::IsNull[][src]

pub enum IsNull {
    Yes,
    No,
}

Tiny enum to make the return type of ToSql more descriptive

Variants

No data was written, as this type is null

The value is not null

This does not necessarily mean that any data was written to the buffer. For example, an empty string has no data to be sent over the wire, but also is not null.

Trait Implementations

impl Debug for IsNull
[src]

Formats the value using the given formatter. Read more

impl Copy for IsNull
[src]

impl Clone for IsNull
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for IsNull
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for IsNull
[src]

Auto Trait Implementations

impl Send for IsNull

impl Sync for IsNull