pub trait PrimaryKeyArity {
const ARITY: usize;
}Expand description
Number of columns a primary key spans — 1 for a single-column key,
n for a composite key represented as an n-tuple.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".