pub struct SelectStatement {
pub tables: Vec<Table>,
pub distinct: bool,
pub fields: Vec<FieldDefinitionExpression>,
pub join: Vec<JoinClause>,
pub where_clause: Option<ConditionExpression>,
pub group_by: Option<GroupByClause>,
pub order: Option<OrderClause>,
pub limit: Option<LimitClause>,
}
Fields§
§tables: Vec<Table>
§distinct: bool
§fields: Vec<FieldDefinitionExpression>
§join: Vec<JoinClause>
§where_clause: Option<ConditionExpression>
§group_by: Option<GroupByClause>
§order: Option<OrderClause>
§limit: Option<LimitClause>
Trait Implementations§
Source§impl Clone for SelectStatement
impl Clone for SelectStatement
Source§fn clone(&self) -> SelectStatement
fn clone(&self) -> SelectStatement
Returns a copy 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 moreSource§impl Debug for SelectStatement
impl Debug for SelectStatement
Source§impl Default for SelectStatement
impl Default for SelectStatement
Source§fn default() -> SelectStatement
fn default() -> SelectStatement
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SelectStatement
impl<'de> Deserialize<'de> for SelectStatement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SelectStatement
impl Display for SelectStatement
Source§impl Hash for SelectStatement
impl Hash for SelectStatement
Source§impl PartialEq for SelectStatement
impl PartialEq for SelectStatement
Source§impl Serialize for SelectStatement
impl Serialize for SelectStatement
impl Eq for SelectStatement
impl StructuralPartialEq for SelectStatement
Auto Trait Implementations§
impl Freeze for SelectStatement
impl RefUnwindSafe for SelectStatement
impl Send for SelectStatement
impl Sync for SelectStatement
impl Unpin for SelectStatement
impl UnwindSafe for SelectStatement
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