Struct sea_schema::mysql::def::ColumnExtra [−][src]
pub struct ColumnExtra {
pub auto_increment: bool,
pub on_update_current_timestamp: bool,
pub generated: bool,
pub default_generated: bool,
}
This is supported on crate features
mysql
and def
only.Fields
auto_increment: bool
Auto increment
on_update_current_timestamp: bool
Only applies to timestamp or datetime
generated: bool
This is a generated column
default_generated: bool
This column has a default value expression
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ColumnExtra
impl Send for ColumnExtra
impl Sync for ColumnExtra
impl Unpin for ColumnExtra
impl UnwindSafe for ColumnExtra
Blanket Implementations
Mutably borrows from an owned value. Read more