pub enum ViewDropBehavior {
Cascade,
Restrict,
Silent,
}Expand description
Drop behavior for views
Variants§
Cascade
CASCADE: drop dependent views recursively
Restrict
RESTRICT: fail if dependents exist
Silent
Silent: drop the view, ignore dependents (SQLite-compatible)
Trait Implementations§
Source§impl Clone for ViewDropBehavior
impl Clone for ViewDropBehavior
Source§fn clone(&self) -> ViewDropBehavior
fn clone(&self) -> ViewDropBehavior
Returns a duplicate 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 ViewDropBehavior
impl Debug for ViewDropBehavior
Source§impl PartialEq for ViewDropBehavior
impl PartialEq for ViewDropBehavior
impl Copy for ViewDropBehavior
impl StructuralPartialEq for ViewDropBehavior
Auto Trait Implementations§
impl Freeze for ViewDropBehavior
impl RefUnwindSafe for ViewDropBehavior
impl Send for ViewDropBehavior
impl Sync for ViewDropBehavior
impl Unpin for ViewDropBehavior
impl UnwindSafe for ViewDropBehavior
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