pub enum AggregateOp {
Count,
Sum,
Average,
Max,
Min,
Product,
Any,
All,
}Expand description
Aggregation operation type.
Variants§
Count
Count the number of elements
Sum
Sum of all elements
Average
Average (mean) of elements
Max
Maximum element
Min
Minimum element
Product
Product of all elements
Any
Any (existential - true if any element is true)
All
All (universal - true if all elements are true)
Trait Implementations§
Source§impl Clone for AggregateOp
impl Clone for AggregateOp
Source§fn clone(&self) -> AggregateOp
fn clone(&self) -> AggregateOp
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 AggregateOp
impl Debug for AggregateOp
Source§impl<'de> Deserialize<'de> for AggregateOp
impl<'de> Deserialize<'de> for AggregateOp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for AggregateOp
impl Display for AggregateOp
Source§impl PartialEq for AggregateOp
impl PartialEq for AggregateOp
Source§impl Serialize for AggregateOp
impl Serialize for AggregateOp
impl Eq for AggregateOp
impl StructuralPartialEq for AggregateOp
Auto Trait Implementations§
impl Freeze for AggregateOp
impl RefUnwindSafe for AggregateOp
impl Send for AggregateOp
impl Sync for AggregateOp
impl Unpin for AggregateOp
impl UnwindSafe for AggregateOp
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