pub enum ConKind {
Check,
NotNull,
Primary,
Unique,
Foreign,
Trigger,
}Expand description
The kind of a constraint, contype.
Variants§
Check
A check constraint, c.
NotNull
A not-null constraint, n.
Primary
A primary key, p.
Unique
A unique constraint, u.
Foreign
A foreign key, f.
Trigger
The constraint of a constraint trigger, t.
Implementations§
Trait Implementations§
impl Copy for ConKind
impl Eq for ConKind
impl StructuralPartialEq for ConKind
Auto Trait Implementations§
impl Freeze for ConKind
impl RefUnwindSafe for ConKind
impl Send for ConKind
impl Sync for ConKind
impl Unpin for ConKind
impl UnsafeUnpin for ConKind
impl UnwindSafe for ConKind
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