Enum sea_schema::sqlite::def::ForeignKeyAction
source · pub enum ForeignKeyAction {
NoAction,
Restrict,
SetNull,
SetDefault,
Cascade,
}
Available on crate features
sqlite
and def
only.Expand description
Indexes the actions performed on the foreign keys of a table
Variants§
Trait Implementations§
source§impl Clone for ForeignKeyAction
impl Clone for ForeignKeyAction
source§fn clone(&self) -> ForeignKeyAction
fn clone(&self) -> ForeignKeyAction
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 ForeignKeyAction
impl Debug for ForeignKeyAction
source§impl Default for ForeignKeyAction
impl Default for ForeignKeyAction
source§impl From<&str> for ForeignKeyAction
impl From<&str> for ForeignKeyAction
source§impl PartialEq for ForeignKeyAction
impl PartialEq for ForeignKeyAction
impl Eq for ForeignKeyAction
impl StructuralPartialEq for ForeignKeyAction
Auto Trait Implementations§
impl Freeze for ForeignKeyAction
impl RefUnwindSafe for ForeignKeyAction
impl Send for ForeignKeyAction
impl Sync for ForeignKeyAction
impl Unpin for ForeignKeyAction
impl UnwindSafe for ForeignKeyAction
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)