Trait sea_orm::entity::RelationTrait [−][src]
pub trait RelationTrait: Iterable + Debug + 'static {
fn def(&self) -> RelationDef;
}
Expand description
Constraints a type to implement the trait to create a relationship
Required methods
fn def(&self) -> RelationDef
fn def(&self) -> RelationDef
The method to call