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

pub trait IntoNotNullable {
    type NotNullable;

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

Associated Types

type NotNullable[src]

The not nullable representation of this type.

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

Loading content...


impl<T> IntoNotNullable for Nullable<T> where
    T: SqlType

type NotNullable = T

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

type NotNullable = T

Loading content...