pub enum Constraint {
Key(u32),
Check(u32),
Foreign(u32),
NotNull(u32),
}Expand description
One constraint of a CREATE TABLE, by its place in the list of its kind.
Variants§
Key(u32)
One of CreateTable::keys.
Check(u32)
One of CreateTable::checks.
Foreign(u32)
One of CreateTable::foreign.
NotNull(u32)
A NOT NULL written on the column at this place.
Trait Implementations§
Source§impl Clone for Constraint
impl Clone for Constraint
impl Copy for Constraint
Source§impl Debug for Constraint
impl Debug for Constraint
impl Eq for Constraint
Source§impl PartialEq for Constraint
impl PartialEq for Constraint
impl StructuralPartialEq for Constraint
Auto Trait Implementations§
impl Freeze for Constraint
impl RefUnwindSafe for Constraint
impl Send for Constraint
impl Sync for Constraint
impl Unpin for Constraint
impl UnsafeUnpin for Constraint
impl UnwindSafe for Constraint
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