[][src]Trait diesel::sql_types::IntoNotNullable

pub trait IntoNotNullable {
    type NotNullable;
}

Converts a type which may or may not be nullable into its not nullable representation.

Associated Types

type NotNullable

The not nullable representation of this type.

For Nullable<T>, this will be T otherwise the type itself

Loading content...

Implementors

impl<T> IntoNotNullable for Nullable<T> where
    T: SqlType
[src]

type NotNullable = T

impl<T> IntoNotNullable for T where
    T: SqlType<IsNull = NotNull>, 
[src]

type NotNullable = T

Loading content...