#[non_exhaustive]pub enum Agg {
Sum(String),
Mean(String),
Min(String),
Max(String),
Count,
First(String),
Last(String),
NUnique(String),
}Expand description
Aggregation operation to apply within each group.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Sum(String)
Sum of a numeric column.
Mean(String)
Mean of a numeric column.
Min(String)
Minimum value.
Max(String)
Maximum value.
Count
Count of rows in each group (no column needed).
First(String)
First value of a column.
Last(String)
Last value of a column.
NUnique(String)
Count of unique values.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Agg
impl RefUnwindSafe for Agg
impl Send for Agg
impl Sync for Agg
impl Unpin for Agg
impl UnsafeUnpin for Agg
impl UnwindSafe for Agg
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