pub enum WindowAggregation {
Sum,
Mean,
Max,
Min,
Count,
LastValue,
FirstValue,
}Expand description
Aggregation function applied within each window.
Variants§
Sum
Sum of all values.
Mean
Arithmetic mean.
Max
Maximum value.
Min
Minimum value.
Count
Number of elements (as f64).
LastValue
Last (most recent) value in the window.
FirstValue
First (earliest) value in the window.
Trait Implementations§
Source§impl Clone for WindowAggregation
impl Clone for WindowAggregation
Source§fn clone(&self) -> WindowAggregation
fn clone(&self) -> WindowAggregation
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 WindowAggregation
impl Debug for WindowAggregation
Source§impl PartialEq for WindowAggregation
impl PartialEq for WindowAggregation
impl Copy for WindowAggregation
impl Eq for WindowAggregation
impl StructuralPartialEq for WindowAggregation
Auto Trait Implementations§
impl Freeze for WindowAggregation
impl RefUnwindSafe for WindowAggregation
impl Send for WindowAggregation
impl Sync for WindowAggregation
impl Unpin for WindowAggregation
impl UnsafeUnpin for WindowAggregation
impl UnwindSafe for WindowAggregation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more