Skip to main content

MaybeNullableType

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§