pub enum SqlTableConstraint {
PrimaryKey(Vec<String>),
Unique(Vec<String>),
ForeignKey {
columns: Vec<String>,
reference: SqlForeignKeyReference,
},
}Variants§
Trait Implementations§
Source§impl Clone for SqlTableConstraint
impl Clone for SqlTableConstraint
Source§impl Debug for SqlTableConstraint
impl Debug for SqlTableConstraint
impl Eq for SqlTableConstraint
Source§impl PartialEq for SqlTableConstraint
impl PartialEq for SqlTableConstraint
impl StructuralPartialEq for SqlTableConstraint
Auto Trait Implementations§
impl Freeze for SqlTableConstraint
impl RefUnwindSafe for SqlTableConstraint
impl Send for SqlTableConstraint
impl Sync for SqlTableConstraint
impl Unpin for SqlTableConstraint
impl UnsafeUnpin for SqlTableConstraint
impl UnwindSafe for SqlTableConstraint
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