pub trait RelationshipTrait: Display {
// Required method
fn get_object(&self) -> &'static str;
}Expand description
A trait for getting information about a relationship type
Required Methods§
Sourcefn get_object(&self) -> &'static str
fn get_object(&self) -> &'static str
Get relation object name