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

pub enum IsNull {
    Yes,
    No,
}

Tiny enum to make the return type of ToSql more descriptive

Variants

Yes

No data was written, as this type is null

No

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 Clone for IsNull[src]

impl Copy for IsNull[src]

impl Debug for IsNull[src]

impl Eq for IsNull[src]

impl PartialEq<IsNull> for IsNull[src]

impl StructuralEq for IsNull[src]

impl StructuralPartialEq for IsNull[src]

Auto Trait Implementations

impl RefUnwindSafe for IsNull

impl Send for IsNull

impl Sync for IsNull

impl Unpin for IsNull

impl UnwindSafe for IsNull

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoSql for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]