pub struct DeleteStmt {
pub table: TableName,
pub where_: Option<Expr>,
pub returning: Vec<ColumnName>,
}Expand description
A DELETE statement.
Fields§
§table: TableNameThe table to delete from.
where_: Option<Expr>Optional WHERE clause filter.
returning: Vec<ColumnName>Columns to return after delete (RETURNING clause).
Implementations§
Trait Implementations§
Source§impl Clone for DeleteStmt
impl Clone for DeleteStmt
Source§fn clone(&self) -> DeleteStmt
fn clone(&self) -> DeleteStmt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeleteStmt
impl Debug for DeleteStmt
Source§impl Render for DeleteStmt
impl Render for DeleteStmt
Auto Trait Implementations§
impl Freeze for DeleteStmt
impl RefUnwindSafe for DeleteStmt
impl Send for DeleteStmt
impl Sync for DeleteStmt
impl Unpin for DeleteStmt
impl UnsafeUnpin for DeleteStmt
impl UnwindSafe for DeleteStmt
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