pub enum ForeignKeyOnAction {
Restrict(Span),
Cascade(Span),
SetNull(Span),
NoAction(Span),
SetDefault(Span),
}Expand description
Action to take on event for foreign key
Variants§
Trait Implementations§
Source§impl Clone for ForeignKeyOnAction
impl Clone for ForeignKeyOnAction
Source§impl Debug for ForeignKeyOnAction
impl Debug for ForeignKeyOnAction
Auto Trait Implementations§
impl Freeze for ForeignKeyOnAction
impl RefUnwindSafe for ForeignKeyOnAction
impl Send for ForeignKeyOnAction
impl Sync for ForeignKeyOnAction
impl Unpin for ForeignKeyOnAction
impl UnsafeUnpin for ForeignKeyOnAction
impl UnwindSafe for ForeignKeyOnAction
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