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
sourceยงfn eq(&self, other: &ForeignKeyAction) -> bool
fn eq(&self, other: &ForeignKeyAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ForeignKeyAction
impl StructuralEq for ForeignKeyAction
impl StructuralPartialEq for ForeignKeyAction
Auto Trait Implementationsยง
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