[][src]Struct diesel::sql_types::is_nullable::NotNull

pub struct NotNull;

No, this type cannot be null as it is marked as NOT NULL at database level

This should be choosen for basically all manual impls of SqlType beside implementing your own Nullable<> wrapper type

Trait Implementations

impl AllAreNullable<IsNullable> for NotNull[src]

type Out = NotNull

See the trait documentation

impl AllAreNullable<NotNull> for NotNull[src]

type Out = NotNull

See the trait documentation

impl AllAreNullable<NotNull> for IsNullable[src]

type Out = NotNull

See the trait documentation

impl Clone for NotNull[src]

impl Copy for NotNull[src]

impl Debug for NotNull[src]

impl<O> MaybeNullableType<O> for NotNull where
    O: SqlType + TypedExpressionType
[src]

type Out = O

See the trait documentation

impl OneIsNullable<IsNullable> for NotNull[src]

type Out = IsNullable

See the trait documentation

impl OneIsNullable<NotNull> for NotNull[src]

type Out = NotNull

See the trait documentation

impl OneIsNullable<NotNull> for IsNullable[src]

type Out = IsNullable

See the trait documentation

Auto Trait Implementations

impl RefUnwindSafe for NotNull

impl Send for NotNull

impl Sync for NotNull

impl Unpin for NotNull

impl UnwindSafe for NotNull

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoSql for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]