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, 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, T16: SqlType, T17: SqlType, T18: SqlType, T19: SqlType, T20: SqlType, T21: SqlType, T22: SqlType, T23: SqlType, T24: SqlType, T25: SqlType, T26: SqlType, T27: SqlType, T28: SqlType, T29: SqlType, T30: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29, T30)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, T16: SqlType, T17: SqlType, T18: SqlType, T19: SqlType, T20: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)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, T16: SqlType, T17: SqlType, T18: SqlType, T19: SqlType, T20: SqlType, T21: SqlType, T22: SqlType, T23: SqlType, T24: SqlType, T25: SqlType, T26: SqlType, T27: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27)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, T16: SqlType, T17: SqlType, T18: SqlType, T19: SqlType, T20: SqlType, T21: SqlType, T22: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22)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, T16: SqlType, T17: SqlType, T18: SqlType, T19: SqlType, T20: SqlType, T21: SqlType, T22: SqlType, T23: SqlType, T24: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24)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, T16: SqlType, T17: SqlType, T18: SqlType, T19: SqlType, T20: SqlType, T21: SqlType, T22: SqlType, T23: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23)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, T16: SqlType, T17: SqlType, T18: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)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, T13: SqlType, T14: SqlType, T15: SqlType, T16: SqlType, T17: SqlType, T18: SqlType, T19: SqlType, T20: SqlType, T21: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21)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> IntoNullable for (T0, T1, T2)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, T9: SqlType, T10: SqlType, T11: SqlType, T12: SqlType, T13: SqlType, T14: SqlType, T15: SqlType, T16: SqlType, T17: SqlType, T18: SqlType, T19: SqlType, T20: SqlType, T21: SqlType, T22: SqlType, T23: SqlType, T24: SqlType, T25: SqlType, T26: SqlType, T27: SqlType, T28: SqlType, T29: SqlType, T30: SqlType, T31: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29, T30, T31)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> IntoNullable for (T0, T1, T2, T3, T4)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, T16: SqlType, T17: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)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, T16: SqlType, T17: SqlType, T18: SqlType, T19: SqlType, T20: SqlType, T21: SqlType, T22: SqlType, T23: SqlType, T24: SqlType, T25: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25)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, 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, T14: SqlType, T15: SqlType, T16: SqlType, T17: SqlType, T18: SqlType, T19: SqlType, T20: SqlType, T21: SqlType, T22: SqlType, T23: SqlType, T24: SqlType, T25: SqlType, T26: SqlType, T27: SqlType, T28: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28)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, 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,

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, T16: SqlType, T17: SqlType, T18: SqlType, T19: SqlType, T20: SqlType, T21: SqlType, T22: SqlType, T23: SqlType, T24: SqlType, T25: SqlType, T26: SqlType, T27: SqlType, T28: SqlType, T29: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29)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, T7: SqlType, T8: SqlType, T9: SqlType, T10: SqlType, T11: SqlType, T12: SqlType, T13: SqlType, T14: SqlType, T15: SqlType, T16: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)where Self: SqlType,

source§

impl<T0: SqlType, T1: SqlType> IntoNullable for (T0, T1)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, T16: SqlType, T17: SqlType, T18: SqlType, T19: SqlType, T20: SqlType, T21: SqlType, T22: SqlType, T23: SqlType, T24: SqlType, T25: SqlType, T26: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26)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> 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, T11: SqlType, T12: SqlType, T13: SqlType, T14: SqlType, T15: SqlType, T16: SqlType, T17: SqlType, T18: SqlType, T19: SqlType> IntoNullable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)where Self: SqlType,

Implementors§

source§

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

source§

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