pub enum AggregateFunction {
Count,
CountNonNull,
Sum,
Avg,
Min,
Max,
First,
Last,
Collect,
}Expand description
Aggregation function types.
Variants§
Count
Count of rows (COUNT(*)).
CountNonNull
Count of non-null values (COUNT(column)).
Sum
Sum of values.
Avg
Average of values.
Min
Minimum value.
Max
Maximum value.
First
First value in the group.
Last
Last value in the group.
Collect
Collect values into a list.
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 Copy for AggregateFunction
impl Eq 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.