pub enum AggregateField {
CountAll,
CountColumn(String),
CountDistinct(String),
Sum(String),
Avg(String),
Min(String),
Max(String),
}Expand description
An aggregation field specifier.
Variants§
CountAll
Count all rows.
CountColumn(String)
Count non-null values in a column.
CountDistinct(String)
Count distinct values in a column.
Sum(String)
Sum of a numeric column.
Avg(String)
Average of a numeric column.
Min(String)
Minimum value in a column.
Max(String)
Maximum value in a column.
Implementations§
Trait Implementations§
Source§impl Clone for AggregateField
impl Clone for AggregateField
Source§fn clone(&self) -> AggregateField
fn clone(&self) -> AggregateField
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AggregateField
impl RefUnwindSafe for AggregateField
impl Send for AggregateField
impl Sync for AggregateField
impl Unpin for AggregateField
impl UnwindSafe for AggregateField
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)