pub struct AggregateExpr {
pub func: AggFunc,
pub input: String,
pub alias: String,
}Expand description
Named aggregate function with an output alias.
Fields§
§func: AggFuncThe aggregate function kind (COUNT, SUM, …).
input: StringThe column or expression being aggregated (e.g. "*", "amount").
alias: StringThe output column alias (or a synthetic name when no alias is given).
Trait Implementations§
Source§impl Clone for AggregateExpr
impl Clone for AggregateExpr
Source§impl Debug for AggregateExpr
impl Debug for AggregateExpr
Source§impl PartialEq for AggregateExpr
impl PartialEq for AggregateExpr
impl StructuralPartialEq for AggregateExpr
Auto Trait Implementations§
impl Freeze for AggregateExpr
impl RefUnwindSafe for AggregateExpr
impl Send for AggregateExpr
impl Sync for AggregateExpr
impl Unpin for AggregateExpr
impl UnsafeUnpin for AggregateExpr
impl UnwindSafe for AggregateExpr
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