pub struct QueryExpr {
pub with: Option<WithClause>,
pub body: SetExpr,
pub order_by: Vec<OrderItem>,
pub limit: Option<i64>,
pub offset: Option<i64>,
pub locking: Option<RowLockStrength>,
}Expand description
A complete row-producing SQL query expression. The body may be a lone SELECT, a lone VALUES list, or a set-operation tree. The tail applies to the complete query expression.
Fields§
§with: Option<WithClause>§body: SetExpr§order_by: Vec<OrderItem>§limit: Option<i64>§offset: Option<i64>§locking: Option<RowLockStrength>Trait Implementations§
impl StructuralPartialEq for QueryExpr
Auto Trait Implementations§
impl Freeze for QueryExpr
impl RefUnwindSafe for QueryExpr
impl Send for QueryExpr
impl Sync for QueryExpr
impl Unpin for QueryExpr
impl UnsafeUnpin for QueryExpr
impl UnwindSafe for QueryExpr
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