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]

[src]

Formats the value using the given formatter.

impl Copy for IsNull
[src]

impl Clone for IsNull
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for IsNull
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for IsNull
[src]