pub enum ForeignKeyAction {
NoAction,
Restrict,
SetNull,
SetDefault,
Cascade,
}Available on crate features
def and sqlite only.Expand description
Indexes the actions performed on the foreign keys of a table
Variants§
Trait Implementations§
Source§impl Clone for ForeignKeyAction
impl Clone for ForeignKeyAction
Source§impl Debug for ForeignKeyAction
impl Debug for ForeignKeyAction
Source§impl Default for ForeignKeyAction
impl Default for ForeignKeyAction
impl Eq for ForeignKeyAction
Source§impl From<&str> for ForeignKeyAction
impl From<&str> for ForeignKeyAction
Source§impl PartialEq for ForeignKeyAction
impl PartialEq for ForeignKeyAction
impl StructuralPartialEq for ForeignKeyAction
Auto Trait Implementations§
impl Forget for ForeignKeyAction
impl Freeze for ForeignKeyAction
impl Move for ForeignKeyAction
impl RefUnwindSafe for ForeignKeyAction
impl Send for ForeignKeyAction
impl Sync for ForeignKeyAction
impl Unpin for ForeignKeyAction
impl UnsafeUnpin for ForeignKeyAction
impl UnwindSafe for ForeignKeyAction
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