pub struct SelectStmt {
pub columns: Vec<SelectColumn>,
pub from: String,
pub from_alias: Option<String>,
pub joins: Vec<JoinClause>,
pub distinct: bool,
pub where_clause: Option<Expr>,
pub order_by: Vec<OrderByItem>,
pub limit: Option<Expr>,
pub offset: Option<Expr>,
pub group_by: Vec<Expr>,
pub having: Option<Expr>,
}Fields§
§columns: Vec<SelectColumn>§from: String§from_alias: Option<String>§joins: Vec<JoinClause>§distinct: bool§where_clause: Option<Expr>§order_by: Vec<OrderByItem>§limit: Option<Expr>§offset: Option<Expr>§group_by: Vec<Expr>§having: Option<Expr>Trait Implementations§
Source§impl Clone for SelectStmt
impl Clone for SelectStmt
Source§fn clone(&self) -> SelectStmt
fn clone(&self) -> SelectStmt
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SelectStmt
impl RefUnwindSafe for SelectStmt
impl Send for SelectStmt
impl Sync for SelectStmt
impl Unpin for SelectStmt
impl UnsafeUnpin for SelectStmt
impl UnwindSafe for SelectStmt
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