pub trait PrimaryKey:
ToColumn
+ Send
+ Sync
+ Sealed { }Available on crate features
model-mysql or model-postgres or model-sqlite only.Expand description
A type ModelRepository can key rows by: i64, i32, String or
Uuid (18.30.0). Sealed — these are the types Repository is
implemented for.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".