#[repr(u32)]pub enum TableConstraintType {
PrimaryKey = 0,
Unique = 1,
Check = 2,
ForeignKey = 3,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TableConstraintType
impl Clone for TableConstraintType
Source§fn clone(&self) -> TableConstraintType
fn clone(&self) -> TableConstraintType
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 TableConstraintType
impl Debug for TableConstraintType
Source§impl PartialEq for TableConstraintType
impl PartialEq for TableConstraintType
impl Copy for TableConstraintType
impl Eq for TableConstraintType
impl StructuralPartialEq for TableConstraintType
Auto Trait Implementations§
impl Freeze for TableConstraintType
impl RefUnwindSafe for TableConstraintType
impl Send for TableConstraintType
impl Sync for TableConstraintType
impl Unpin for TableConstraintType
impl UnsafeUnpin for TableConstraintType
impl UnwindSafe for TableConstraintType
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