pub struct ExprStmt {
pub stmt: Box<Statement>,
}Expand description
A statement used as an expression.
Wraps a statement (such as a subquery) so it can be used in expression contexts.
§Examples
(SELECT max(age) FROM users) // subquery as expressionFields§
§stmt: Box<Statement>The wrapped statement.
Trait Implementations§
impl StructuralPartialEq for ExprStmt
Auto Trait Implementations§
impl Freeze for ExprStmt
impl RefUnwindSafe for ExprStmt
impl Send for ExprStmt
impl Sync for ExprStmt
impl Unpin for ExprStmt
impl UnwindSafe for ExprStmt
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