pub enum AggregateFunction {
Count,
Sum(String),
Avg(String),
Min(String),
Max(String),
Distinct(String),
GroupBy(String),
}Expand description
Aggregation functions for query results.
Variants§
Count
Count the number of items
Sum(String)
Sum numeric values for the specified property key
Avg(String)
Average numeric values for the specified property key
Min(String)
Minimum value for the specified property key
Max(String)
Maximum value for the specified property key
Distinct(String)
Collect unique values for the specified property key
GroupBy(String)
Group by the specified property value
Trait Implementations§
Source§impl Clone for AggregateFunction
impl Clone for AggregateFunction
Source§fn clone(&self) -> AggregateFunction
fn clone(&self) -> AggregateFunction
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 AggregateFunction
impl Debug for AggregateFunction
Source§impl PartialEq for AggregateFunction
impl PartialEq for AggregateFunction
impl StructuralPartialEq for AggregateFunction
Auto Trait Implementations§
impl Freeze for AggregateFunction
impl RefUnwindSafe for AggregateFunction
impl Send for AggregateFunction
impl Sync for AggregateFunction
impl Unpin for AggregateFunction
impl UnwindSafe for AggregateFunction
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