pub struct AggregationSql {
pub select: String,
pub from: String,
pub where_clause: Option<String>,
pub group_by: Option<String>,
pub having: Option<String>,
pub order_by: Option<String>,
pub limit: Option<u32>,
pub offset: Option<u32>,
pub complete_sql: String,
}Expand description
SQL query components
Fields§
§select: StringSELECT clause
from: StringFROM clause
where_clause: Option<String>WHERE clause (if present)
group_by: Option<String>GROUP BY clause (if present)
having: Option<String>HAVING clause (if present)
order_by: Option<String>ORDER BY clause (if present)
limit: Option<u32>LIMIT clause (if present)
offset: Option<u32>OFFSET clause (if present)
complete_sql: StringComplete SQL query
Trait Implementations§
Source§impl Clone for AggregationSql
impl Clone for AggregationSql
Source§fn clone(&self) -> AggregationSql
fn clone(&self) -> AggregationSql
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 AggregationSql
impl RefUnwindSafe for AggregationSql
impl Send for AggregationSql
impl Sync for AggregationSql
impl Unpin for AggregationSql
impl UnsafeUnpin for AggregationSql
impl UnwindSafe for AggregationSql
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