Enum sql_parse::ForeignKeyOnAction
source · pub enum ForeignKeyOnAction {
Restrict(Span),
Cascade(Span),
SetNull(Span),
NoAction(Span),
SetDefault(Span),
}
Expand description
Action to take on event for foreign key
Variants§
Trait Implementations§
source§impl Clone for ForeignKeyOnAction
impl Clone for ForeignKeyOnAction
source§fn clone(&self) -> ForeignKeyOnAction
fn clone(&self) -> ForeignKeyOnAction
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 more