pub trait RelationTrait: 'static + IntoEnumIterator + Debug {
    fn def(&self) -> RelationDef;
}
Expand description

Constraints a type to implement the trait to create a relationship

Required methods

The method to call

Implementors