Trait diesel::sql_types::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§