Struct sea_schema::mysql::def::ColumnExtra
source · [−]pub struct ColumnExtra {
pub auto_increment: bool,
pub on_update_current_timestamp: bool,
pub generated: bool,
pub default_generated: bool,
}
Available 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
sourceimpl Clone for ColumnExtra
impl Clone for ColumnExtra
sourcefn clone(&self) -> ColumnExtra
fn clone(&self) -> ColumnExtra
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ColumnExtra
impl Debug for ColumnExtra
sourceimpl Default for ColumnExtra
impl Default for ColumnExtra
sourcefn default() -> ColumnExtra
fn default() -> ColumnExtra
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ColumnExtra> for ColumnExtra
impl PartialEq<ColumnExtra> for ColumnExtra
sourcefn eq(&self, other: &ColumnExtra) -> bool
fn eq(&self, other: &ColumnExtra) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ColumnExtra) -> bool
fn ne(&self, other: &ColumnExtra) -> bool
This method tests for !=
.
impl StructuralPartialEq for ColumnExtra
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more