Struct sql::ast::DeleteStatement [−][src]
pub struct DeleteStatement<T> where
T: AstInfo, {
pub table_name: <T as AstInfo>::ObjectName,
pub alias: Option<TableAlias>,
pub using: Vec<TableWithJoins<T>, Global>,
pub selection: Option<Expr<T>>,
}
Expand description
DELETE
Fields
table_name: <T as AstInfo>::ObjectName
FROM
alias: Option<TableAlias>
AS
using: Vec<TableWithJoins<T>, Global>
USING
selection: Option<Expr<T>>
WHERE
Trait Implementations
impl<T> Clone for DeleteStatement<T> where
T: Clone + AstInfo,
<T as AstInfo>::ObjectName: Clone,
impl<T> Clone for DeleteStatement<T> where
T: Clone + AstInfo,
<T as AstInfo>::ObjectName: Clone,
impl<T> Debug for DeleteStatement<T> where
T: Debug + AstInfo,
<T as AstInfo>::ObjectName: Debug,
impl<T> Debug for DeleteStatement<T> where
T: Debug + AstInfo,
<T as AstInfo>::ObjectName: Debug,
impl<T> PartialEq<DeleteStatement<T>> for DeleteStatement<T> where
T: PartialEq<T> + AstInfo,
<T as AstInfo>::ObjectName: PartialEq<<T as AstInfo>::ObjectName>,
impl<T> PartialEq<DeleteStatement<T>> for DeleteStatement<T> where
T: PartialEq<T> + AstInfo,
<T as AstInfo>::ObjectName: PartialEq<<T as AstInfo>::ObjectName>,
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