pub enum AggregateKind {
Count {
field_id: Option<FieldId>,
distinct: bool,
},
Sum {
field_id: FieldId,
data_type: DataType,
distinct: bool,
},
Total {
field_id: FieldId,
data_type: DataType,
distinct: bool,
},
Avg {
field_id: FieldId,
data_type: DataType,
distinct: bool,
},
Min {
field_id: FieldId,
data_type: DataType,
},
Max {
field_id: FieldId,
data_type: DataType,
},
CountNulls {
field_id: FieldId,
},
GroupConcat {
field_id: FieldId,
distinct: bool,
separator: String,
},
}Expand description
Type of aggregate operation.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AggregateKind
impl Clone for AggregateKind
Source§fn clone(&self) -> AggregateKind
fn clone(&self) -> AggregateKind
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 moreAuto Trait Implementations§
impl Freeze for AggregateKind
impl RefUnwindSafe for AggregateKind
impl Send for AggregateKind
impl Sync for AggregateKind
impl Unpin for AggregateKind
impl UnwindSafe for AggregateKind
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