pub struct DeleteStatement {
pub with: Option<WithClause>,
pub table: QualifiedTableRef,
pub where_clause: Option<Expr>,
pub returning: Vec<ResultColumn>,
pub order_by: Vec<OrderingTerm>,
pub limit: Option<LimitClause>,
}Expand description
A DELETE statement.
Fields§
§with: Option<WithClause>Optional WITH clause.
table: QualifiedTableRefTarget table.
where_clause: Option<Expr>WHERE clause.
returning: Vec<ResultColumn>RETURNING clause.
order_by: Vec<OrderingTerm>ORDER BY (only with LIMIT).
limit: Option<LimitClause>LIMIT clause.
Trait Implementations§
Source§impl Clone for DeleteStatement
impl Clone for DeleteStatement
Source§fn clone(&self) -> DeleteStatement
fn clone(&self) -> DeleteStatement
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 DeleteStatement
impl Debug for DeleteStatement
Source§impl Display for DeleteStatement
impl Display for DeleteStatement
Source§impl PartialEq for DeleteStatement
impl PartialEq for DeleteStatement
impl StructuralPartialEq for DeleteStatement
Auto Trait Implementations§
impl !Freeze for DeleteStatement
impl RefUnwindSafe for DeleteStatement
impl Send for DeleteStatement
impl Sync for DeleteStatement
impl Unpin for DeleteStatement
impl UnsafeUnpin for DeleteStatement
impl UnwindSafe for DeleteStatement
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