Enum akita::ColumnConstraint
source · [−]Variants
NotNull
DefaultValue(Literal)
AutoIncrement(Option<String>)
the string contains the sequence name of this serial column
Implementations
sourceimpl ColumnConstraint
impl ColumnConstraint
pub fn sql_format(&self) -> String
Trait Implementations
sourceimpl Clone for ColumnConstraint
impl Clone for ColumnConstraint
sourcefn clone(&self) -> ColumnConstraint
fn clone(&self) -> ColumnConstraint
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 ColumnConstraint
impl Debug for ColumnConstraint
sourceimpl PartialEq<ColumnConstraint> for ColumnConstraint
impl PartialEq<ColumnConstraint> for ColumnConstraint
sourcefn eq(&self, other: &ColumnConstraint) -> bool
fn eq(&self, other: &ColumnConstraint) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for ColumnConstraint
Auto Trait Implementations
impl RefUnwindSafe for ColumnConstraint
impl Send for ColumnConstraint
impl Sync for ColumnConstraint
impl Unpin for ColumnConstraint
impl UnwindSafe for ColumnConstraint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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