diesel::sql_types

Trait IntoNullable

Source
pub trait IntoNullable {
    type Nullable;
}
Expand description

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

Required Associated Types§

Source

type Nullable

The nullable representation of this type.

For all types except Nullable, this will be Nullable<Self>.

Implementations on Foreign Types§

Source§

impl<T0: SqlType> IntoNullable for (T0,)
where Self: SqlType,

Source§

impl<T0: SqlType, T1: SqlType> IntoNullable for (T0, T1)
where Self: SqlType,

Source§

impl<T0: SqlType, T1: SqlType, T2: SqlType> IntoNullable for (T0, T1, T2)
where Self: SqlType,

Source§

impl<T0: SqlType, T1: SqlType, T2: SqlType, T3: SqlType> IntoNullable for (T0, T1, T2, T3)
where Self: SqlType,

Source§

impl<T0: SqlType, T1: SqlType, T2: SqlType, T3: SqlType, T4: SqlType> IntoNullable for (T0, T1, T2, T3, T4)
where Self: SqlType,

Source§

impl<T0: SqlType, T1: SqlType, T2: SqlType, T3: SqlType, T4: SqlType, T5: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5)
where Self: SqlType,

Source§

impl<T0: SqlType, T1: SqlType, T2: SqlType, T3: SqlType, T4: SqlType, T5: SqlType, T6: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6)
where Self: SqlType,

Source§

impl<T0: SqlType, T1: SqlType, T2: SqlType, T3: SqlType, T4: SqlType, T5: SqlType, T6: SqlType, T7: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7)
where Self: SqlType,

Source§

impl<T0: SqlType, T1: SqlType, T2: SqlType, T3: SqlType, T4: SqlType, T5: SqlType, T6: SqlType, T7: SqlType, T8: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7, T8)
where Self: SqlType,

Source§

impl<T0: SqlType, T1: SqlType, T2: SqlType, T3: SqlType, T4: SqlType, T5: SqlType, T6: SqlType, T7: SqlType, T8: SqlType, T9: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)
where Self: SqlType,

Source§

impl<T0: SqlType, T1: SqlType, T2: SqlType, T3: SqlType, T4: SqlType, T5: SqlType, T6: SqlType, T7: SqlType, T8: SqlType, T9: SqlType, T10: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
where Self: SqlType,

Source§

impl<T0: SqlType, T1: SqlType, T2: SqlType, T3: SqlType, T4: SqlType, T5: SqlType, T6: SqlType, T7: SqlType, T8: SqlType, T9: SqlType, T10: SqlType, T11: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
where Self: SqlType,

Source§

impl<T0: SqlType, T1: SqlType, T2: SqlType, T3: SqlType, T4: SqlType, T5: SqlType, T6: SqlType, T7: SqlType, T8: SqlType, T9: SqlType, T10: SqlType, T11: SqlType, T12: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
where Self: SqlType,

Source§

impl<T0: SqlType, T1: SqlType, T2: SqlType, T3: SqlType, T4: SqlType, T5: SqlType, T6: SqlType, T7: SqlType, T8: SqlType, T9: SqlType, T10: SqlType, T11: SqlType, T12: SqlType, T13: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)
where Self: SqlType,

Source§

impl<T0: SqlType, T1: SqlType, T2: SqlType, T3: SqlType, T4: SqlType, T5: SqlType, T6: SqlType, T7: SqlType, T8: SqlType, T9: SqlType, T10: SqlType, T11: SqlType, T12: SqlType, T13: SqlType, T14: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)
where Self: SqlType,

Source§

impl<T0: SqlType, T1: SqlType, T2: SqlType, T3: SqlType, T4: SqlType, T5: SqlType, T6: SqlType, T7: SqlType, T8: SqlType, T9: SqlType, T10: SqlType, T11: SqlType, T12: SqlType, T13: SqlType, T14: SqlType, T15: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where Self: SqlType,

Implementors§

Source§

impl<T> IntoNullable for Nullable<T>
where T: SqlType,

Source§

impl<T> IntoNullable for T
where T: SqlType<IsNull = NotNull> + SingleValue,