Trait elephantry::Structure
source · pub trait Structure: Projectable {
// Required method
fn primary_key() -> &'static [&'static str];
}
Expand description
Trait to reflect relation structure.
Required Methods§
sourcefn primary_key() -> &'static [&'static str]
fn primary_key() -> &'static [&'static str]
Get the list of column contitutes the primary key.
Object Safety§
This trait is not object safe.