pub struct Aggregation {
pub op: String,
pub expr: Expr,
pub param: Option<Expr>,
pub grouping: Option<Grouping>,
}Expand description
Aggregation expression
Fields§
§op: StringThe aggregation operator name
expr: ExprThe expression to aggregate
param: Option<Expr>Parameter for parametric aggregations (topk, quantile, etc.)
grouping: Option<Grouping>Optional grouping clause (by/without)
Implementations§
Source§impl Aggregation
impl Aggregation
Trait Implementations§
Source§impl Clone for Aggregation
impl Clone for Aggregation
Source§fn clone(&self) -> Aggregation
fn clone(&self) -> Aggregation
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 moreSource§impl Debug for Aggregation
impl Debug for Aggregation
Source§impl Display for Aggregation
impl Display for Aggregation
Source§impl PartialEq for Aggregation
impl PartialEq for Aggregation
impl StructuralPartialEq for Aggregation
Auto Trait Implementations§
impl Freeze for Aggregation
impl RefUnwindSafe for Aggregation
impl Send for Aggregation
impl Sync for Aggregation
impl Unpin for Aggregation
impl UnwindSafe for Aggregation
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