pub trait GetRelation<M: Model> {
// Required methods
fn get_relation_mut(&mut self) -> &mut Relation<M>;
fn get_relation(&self) -> &Relation<M>;
}Expand description
A utility trait that implemented by a state that can store a relation of a model.