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: RelationType
from_tbl: TableRef
to_tbl: TableRef
from_col: Identity
to_col: Identity
is_owner: bool
on_delete: Option<ForeignKeyAction>
on_update: Option<ForeignKeyAction>
Implementations
Trait Implementations
Performs the conversion.