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

pub enum IsNull {

Tiny enum to make the return type of ToSql more descriptive


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

Formats the value using the given formatter. Read more

impl Copy for IsNull

impl Clone for IsNull

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for IsNull

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

Auto Trait Implementations

impl Send for IsNull

impl Sync for IsNull