Skip to main content

NonNull

Trait NonNull 

Source
pub trait NonNull {
    type SqlType;
}
Expand description

Nullable<ST> → ST: the non-null SQL type of a column, nullable or not (through IntoNullable, which leaves a nullable type as it is).

Required Associated Types§

Source

type SqlType

The non-null SQL type.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<ST: SqlType<IsNull = NotNull>> NonNull for Nullable<ST>

Source§

type SqlType = ST

Implementors§