Enum sea_schema::postgres::def::ForeignKeyAction
source · pub enum ForeignKeyAction {
Cascade,
SetNull,
SetDefault,
Restrict,
NoAction,
}
Available on crate features
postgres
and def
only.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 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 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