#[repr(u32)]pub enum ColumnConstraintType {
Default = 0,
NotNull = 1,
PrimaryKey = 2,
Unique = 3,
Check = 4,
References = 5,
Collate = 6,
Generated = 7,
Null = 8,
}Variants§
Default = 0
NotNull = 1
PrimaryKey = 2
Unique = 3
Check = 4
References = 5
Collate = 6
Generated = 7
Null = 8
Implementations§
Trait Implementations§
Source§impl Clone for ColumnConstraintType
impl Clone for ColumnConstraintType
Source§fn clone(&self) -> ColumnConstraintType
fn clone(&self) -> ColumnConstraintType
Returns a duplicate 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 ColumnConstraintType
impl Debug for ColumnConstraintType
Source§impl PartialEq for ColumnConstraintType
impl PartialEq for ColumnConstraintType
impl Copy for ColumnConstraintType
impl Eq for ColumnConstraintType
impl StructuralPartialEq for ColumnConstraintType
Auto Trait Implementations§
impl Freeze for ColumnConstraintType
impl RefUnwindSafe for ColumnConstraintType
impl Send for ColumnConstraintType
impl Sync for ColumnConstraintType
impl Unpin for ColumnConstraintType
impl UnsafeUnpin for ColumnConstraintType
impl UnwindSafe for ColumnConstraintType
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