Trait sea_orm::entity::ColumnTypeTrait
source · pub trait ColumnTypeTrait {
// Required methods
fn def(self) -> ColumnDef;
fn get_enum_name(&self) -> Option<&DynIden>;
}
Expand description
SeaORM’s utility methods that act on ColumnType
Required Methods§
sourcefn get_enum_name(&self) -> Option<&DynIden>
fn get_enum_name(&self) -> Option<&DynIden>
Get the name of the enum if this is a enum column