Struct sea_orm::entity::prelude::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,
pub is_owner: bool,
pub on_delete: Option<ForeignKeyAction>,
pub on_update: Option<ForeignKeyAction>,
}Fields
rel_type: RelationTypefrom_tbl: TableRefto_tbl: TableReffrom_col: Identityto_col: Identityis_owner: boolon_delete: Option<ForeignKeyAction>on_update: Option<ForeignKeyAction>Implementations
Trait Implementations
Performs the conversion.