Struct sea_orm::entity::RelationDef [−][src]
pub struct RelationDef {
pub rel_type: RelationType,
pub from_tbl: TableRef,
pub to_tbl: TableRef,
pub from_col: Identity,
pub to_col: Identity,
}
Fields
rel_type: RelationType
from_tbl: TableRef
to_tbl: TableRef
from_col: Identity
to_col: Identity
Implementations
Trait Implementations
Performs the conversion.