Struct sql_parser::ast::defs::statement::DeleteStatement [−][src]
pub struct DeleteStatement<T: AstInfo> {
pub table_name: T::ObjectName,
pub alias: Option<TableAlias>,
pub using: Vec<TableWithJoins<T>>,
pub selection: Option<Expr<T>>,
}
Expand description
DELETE
Fields
table_name: T::ObjectName
FROM
alias: Option<TableAlias>
AS
using: Vec<TableWithJoins<T>>
USING
selection: Option<Expr<T>>
WHERE
Trait Implementations
impl<T: PartialEq + AstInfo> PartialEq<DeleteStatement<T>> for DeleteStatement<T> where
T::ObjectName: PartialEq,
impl<T: PartialEq + AstInfo> PartialEq<DeleteStatement<T>> for DeleteStatement<T> where
T::ObjectName: PartialEq,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<T> RefUnwindSafe for DeleteStatement<T> where
<T as AstInfo>::Id: RefUnwindSafe,
<T as AstInfo>::ObjectName: RefUnwindSafe,
impl<T> Send for DeleteStatement<T> where
<T as AstInfo>::Id: Send,
<T as AstInfo>::ObjectName: Send,
impl<T> Sync for DeleteStatement<T> where
<T as AstInfo>::Id: Sync,
<T as AstInfo>::ObjectName: Sync,
impl<T> Unpin for DeleteStatement<T> where
<T as AstInfo>::ObjectName: Unpin,
impl<T> UnwindSafe for DeleteStatement<T> where
<T as AstInfo>::Id: UnwindSafe,
<T as AstInfo>::ObjectName: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Formats an object with the “alternative” format ({:#}
) and returns it.
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more