Enum sqlparser::ast::ReferentialAction
source · pub enum ReferentialAction {
Restrict,
Cascade,
SetNull,
NoAction,
SetDefault,
}Expand description
<referential_action> = { RESTRICT | CASCADE | SET NULL | NO ACTION | SET DEFAULT }
Used in foreign key constraints in ON UPDATE and ON DELETE options.
Variants§
Trait Implementations§
source§impl Clone for ReferentialAction
impl Clone for ReferentialAction
source§fn clone(&self) -> ReferentialAction
fn clone(&self) -> ReferentialAction
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