pub struct AggregationDef {
pub name: String,
pub expression: Option<Box<Expr>>,
pub distinct: bool,
pub filter: Option<Conditions>,
pub args: Option<Vec<Expr>>,
pub order_by: Option<Vec<OrderByDef>>,
}Expand description
Aggregate function definition.
Fields§
§name: String§expression: Option<Box<Expr>>§distinct: bool§filter: Option<Conditions>§args: Option<Vec<Expr>>§order_by: Option<Vec<OrderByDef>>Implementations§
Trait Implementations§
Source§impl Clone for AggregationDef
impl Clone for AggregationDef
Source§fn clone(&self) -> AggregationDef
fn clone(&self) -> AggregationDef
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 AggregationDef
impl !RefUnwindSafe for AggregationDef
impl Send for AggregationDef
impl Sync for AggregationDef
impl Unpin for AggregationDef
impl UnsafeUnpin for AggregationDef
impl !UnwindSafe for AggregationDef
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