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

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

Trait Implementations

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

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

type Sum = Nullable<T::Sum>

type Avg = Nullable<T::Avg>

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

fn default() -> Nullable<T>

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

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

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

fn clone(&self) -> Nullable<T>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

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

type Nullable = Nullable<T>