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§fn clone(&self) -> ForeignKeyOnAction
fn clone(&self) -> ForeignKeyOnAction
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§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 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