pub enum RefAction {
Cascade,
Restrict,
SetNull,
SetDefault,
NoAction,
}Expand description
The referential action for a foreign key’s ON DELETE / ON UPDATE.
Variants§
Trait Implementations§
impl Copy for RefAction
impl Eq for RefAction
impl StructuralPartialEq for RefAction
Auto Trait Implementations§
impl Freeze for RefAction
impl RefUnwindSafe for RefAction
impl Send for RefAction
impl Sync for RefAction
impl Unpin for RefAction
impl UnsafeUnpin for RefAction
impl UnwindSafe for RefAction
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