pub enum AggFunc {
Count,
Sum,
Avg,
Min,
Max,
StdDev {
sample: bool,
},
Variance {
sample: bool,
},
ArrayAgg,
StringAgg {
separator: String,
},
}Expand description
The aggregate function computed.
Variants§
Count
COUNT.
Sum
SUM.
Avg
AVG.
Min
MIN.
Max
MAX.
StdDev
Standard deviation (needs Feature::StatisticalAggregates).
Variance
Variance (needs Feature::StatisticalAggregates).
ArrayAgg
Collect values into an array (needs Feature::Arrays).
StringAgg
Join text values with a separator (STRING_AGG / group_concat).
Trait Implementations§
impl StructuralPartialEq for AggFunc
Auto Trait Implementations§
impl Freeze for AggFunc
impl RefUnwindSafe for AggFunc
impl Send for AggFunc
impl Sync for AggFunc
impl Unpin for AggFunc
impl UnsafeUnpin for AggFunc
impl UnwindSafe for AggFunc
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