pub enum ForeignKeyOnType {
Update(Span),
Delete(Span),
}
Expand description
When to take a foreign key action
Variants§
Trait Implementations§
Source§impl Clone for ForeignKeyOnType
impl Clone for ForeignKeyOnType
Source§fn clone(&self) -> ForeignKeyOnType
fn clone(&self) -> ForeignKeyOnType
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 ForeignKeyOnType
impl Debug for ForeignKeyOnType
Auto Trait Implementations§
impl Freeze for ForeignKeyOnType
impl RefUnwindSafe for ForeignKeyOnType
impl Send for ForeignKeyOnType
impl Sync for ForeignKeyOnType
impl Unpin for ForeignKeyOnType
impl UnwindSafe for ForeignKeyOnType
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