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

Defines the relations of an Entity

Required Methods§

source

fn def(&self) -> RelationDef

The method to call

Implementations on Foreign Types§

source§

impl RelationTrait for Relation

Implementors§

source§

impl RelationTrait for leetcode_tui_rs::entities::question::Relation

source§

impl RelationTrait for leetcode_tui_rs::entities::question_topic_tag::Relation

source§

impl RelationTrait for leetcode_tui_rs::entities::topic_tag::Relation