pub trait WrapNullable<N: Nullability>: Sealed<N> {
type Output;
}Expand description
Idempotently wrap a SQL type as nullable-or-not depending on a
Nullability marker, without double-wrapping an already-Nullable<T>
column. Column accessors compose this with Find::Nullability so that
NULL-ability is derived from join shape rather than requiring a manual
.nullable() assertion (diesel’s documented wart).
Required Associated Types§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".