pub enum OnDelete {
Cascade,
SetNull,
Restrict,
}Variants§
Trait Implementations§
impl Copy for OnDelete
impl Eq for OnDelete
impl StructuralPartialEq for OnDelete
Auto Trait Implementations§
impl Forget for OnDelete
impl Freeze for OnDelete
impl Move for OnDelete
impl RefUnwindSafe for OnDelete
impl Send for OnDelete
impl Sync for OnDelete
impl Unpin for OnDelete
impl UnsafeUnpin for OnDelete
impl UnwindSafe for OnDelete
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