#[repr(u8)]pub enum ConstraintType {
PrimaryKey = 1,
Unique = 2,
ForeignKey = 3,
Check = 4,
NotNull = 5,
}Expand description
Constraint type.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ConstraintType
impl Clone for ConstraintType
impl Copy for ConstraintType
Source§impl Debug for ConstraintType
impl Debug for ConstraintType
impl Eq for ConstraintType
Source§impl PartialEq for ConstraintType
impl PartialEq for ConstraintType
impl StructuralPartialEq for ConstraintType
Auto Trait Implementations§
impl Freeze for ConstraintType
impl RefUnwindSafe for ConstraintType
impl Send for ConstraintType
impl Sync for ConstraintType
impl Unpin for ConstraintType
impl UnsafeUnpin for ConstraintType
impl UnwindSafe for ConstraintType
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