Enum models_parser::ast::ReferentialAction [−][src]
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
Auto Trait Implementations
impl RefUnwindSafe for ReferentialAction
impl Send for ReferentialAction
impl Sync for ReferentialAction
impl Unpin for ReferentialAction
impl UnwindSafe for ReferentialAction
Blanket Implementations
Mutably borrows from an owned value. Read more