pub enum Aggregate {
Average,
Max,
Min,
Sum,
}
Expand description
The types of value aggregation supported by flat
.
Variants§
Average
The average aggregation variant (ex: [1, 2, 3] -> 2
).
Max
The max aggregation variant (ex: [1, 2, 3] -> 3
).
Min
The min aggregation variant (ex: [1, 2, 3] -> 1
).
Sum
The sum aggregation variant (ex: [1, 2, 3] -> 6
).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Aggregate
impl RefUnwindSafe for Aggregate
impl Send for Aggregate
impl Sync for Aggregate
impl Unpin for Aggregate
impl UnwindSafe for Aggregate
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