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ยง
sourceยงimpl Clone for ColumnExtra
impl Clone for ColumnExtra
sourceยงfn clone(&self) -> ColumnExtra
fn clone(&self) -> ColumnExtra
Returns a copy of the value. Read more
1.0.0 ยท sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceยงimpl Debug for ColumnExtra
impl Debug for ColumnExtra
sourceยงimpl Default for ColumnExtra
impl Default for ColumnExtra
sourceยงfn default() -> ColumnExtra
fn default() -> ColumnExtra
Returns the โdefault valueโ for a type. Read more
sourceยงimpl PartialEq for ColumnExtra
impl PartialEq for ColumnExtra
sourceยงfn 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 ==
.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ยง
sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more