sea_orm::entity

Trait RelationTrait

Source
pub trait RelationTrait:
    Iterable
    + 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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§