diesel::sql_types

Trait MaybeNullableType

Source
pub trait MaybeNullableType<O> {
    type Out: SqlType + TypedExpressionType;
}
Expand description

A type level constructor for maybe nullable types

Constructs either Nullable<O> (for Self == is_nullable::IsNullable) or O (for Self == is_nullable::NotNull)

Required Associated Types§

Source

type Out: SqlType + TypedExpressionType

See the trait documentation

Implementors§