Struct diesel::types::Nullable [] [src]

pub struct Nullable<ST: NotNull>(_);

The nullable SQL type. This wraps another SQL type to indicate that it can be null. By default all values are assumed to be NOT NULL.

ToSql impls

FromSql impls

Trait Implementations

impl<T: SqlOrd + NotNull> SqlOrd for Nullable<T>
[src]

impl<T> QueryId for Nullable<T> where
    T: QueryId + NotNull
[src]

[src]

[src]

impl<T> Foldable for Nullable<T> where
    T: Foldable + NotNull,
    T::Sum: NotNull,
    T::Avg: NotNull
[src]

impl<ST: Debug + NotNull> Debug for Nullable<ST>
[src]

[src]

Formats the value using the given formatter.

impl<ST: Clone + NotNull> Clone for Nullable<ST>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<ST: Copy + NotNull> Copy for Nullable<ST>
[src]

impl<ST: Default + NotNull> Default for Nullable<ST>
[src]

[src]

Returns the "default value" for a type. Read more

impl<T: NotNull> IntoNullable for Nullable<T>
[src]