pub trait ToOneRelation<T>: Sealed<T> { }Expand description
A to-one relation field to T a RelationColumn reads: Deferred<T>, or
Deferred<Option<T>> for a nullable relation.
T is inferred from the field: Deferred<X> matches the first impl with T = X alone,
since an Option is not a model, and the two impls cannot overlap, which would need
T = Option<T>.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".