pub enum AggregateFunc {
Count,
CountDistinct,
Sum,
Avg,
Min,
Max,
}Expand description
Aggregation functions.
Variants§
Count
Count rows: COUNT(*)
CountDistinct
Count distinct values: COUNT(DISTINCT field)
Sum
Sum values: SUM(field)
Avg
Average value: AVG(field)
Min
Minimum value: MIN(field)
Max
Maximum value: MAX(field)
Trait Implementations§
Source§impl Clone for AggregateFunc
impl Clone for AggregateFunc
Source§fn clone(&self) -> AggregateFunc
fn clone(&self) -> AggregateFunc
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 AggregateFunc
impl Debug for AggregateFunc
Source§impl PartialEq for AggregateFunc
impl PartialEq for AggregateFunc
impl Copy for AggregateFunc
impl Eq for AggregateFunc
impl StructuralPartialEq for AggregateFunc
Auto Trait Implementations§
impl Freeze for AggregateFunc
impl RefUnwindSafe for AggregateFunc
impl Send for AggregateFunc
impl Sync for AggregateFunc
impl Unpin for AggregateFunc
impl UnwindSafe for AggregateFunc
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