pub trait ForeignKeyValue<Key: PrimaryKey>:
Copy
+ Send
+ 'static {
const OPTIONAL: bool;
// Required method
fn owner_key(self) -> Option<Key>;
}Expand description
Extracts the owner key from a required or nullable foreign-key field.
Required Associated Constants§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".