pub enum ForeignKeyActionType {
SetNull,
SetDefault,
Cascade,
Restrict,
NoAction,
}Expand description
Foreign key action type.
Variants§
Trait Implementations§
Source§impl Clone for ForeignKeyActionType
impl Clone for ForeignKeyActionType
Source§fn clone(&self) -> ForeignKeyActionType
fn clone(&self) -> ForeignKeyActionType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ForeignKeyActionType
Source§impl Debug for ForeignKeyActionType
impl Debug for ForeignKeyActionType
Source§impl Display for ForeignKeyActionType
impl Display for ForeignKeyActionType
impl Eq for ForeignKeyActionType
Source§impl Hash for ForeignKeyActionType
impl Hash for ForeignKeyActionType
Source§impl PartialEq for ForeignKeyActionType
impl PartialEq for ForeignKeyActionType
impl StructuralPartialEq for ForeignKeyActionType
Auto Trait Implementations§
impl Freeze for ForeignKeyActionType
impl RefUnwindSafe for ForeignKeyActionType
impl Send for ForeignKeyActionType
impl Sync for ForeignKeyActionType
impl Unpin for ForeignKeyActionType
impl UnsafeUnpin for ForeignKeyActionType
impl UnwindSafe for ForeignKeyActionType
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