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 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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> IntoSql for T[src]

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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>,