pub struct Delete {
pub table: String,
pub filter: Condition,
pub cascade: bool,
}Expand description
A DELETE FROM table WHERE condition [CASCADE | RESTRICT] statement.
Fields§
§table: StringThe target table.
filter: ConditionThe mandatory WHERE condition.
cascade: boolWhether CASCADE was given; RESTRICT is the default.
Trait Implementations§
impl Eq for Delete
impl StructuralPartialEq for Delete
Auto Trait Implementations§
impl Freeze for Delete
impl RefUnwindSafe for Delete
impl Send for Delete
impl Sync for Delete
impl Unpin for Delete
impl UnsafeUnpin for Delete
impl UnwindSafe for Delete
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