pub trait ForeignKey<M, K>: Field<M, K> { }Expand description
A field of the child model M holding the owner’s primary key, of type K: a
lens! or a field path over a K column, or an Option<K> one for an
optional reference. Sealed.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".