pub enum Metric {
Count,
Sum(FieldPath),
Min(FieldPath),
Max(FieldPath),
}Expand description
One aggregate calculation.
Variants§
Count
Count every matched record.
Sum(FieldPath)
Checked integer sum, ignoring missing and null.
Min(FieldPath)
Minimum non-null resolved value under the total value order.
Max(FieldPath)
Maximum non-null resolved value under the total value order.
Trait Implementations§
impl Eq for Metric
impl StructuralPartialEq for Metric
Auto Trait Implementations§
impl Freeze for Metric
impl RefUnwindSafe for Metric
impl Send for Metric
impl Sync for Metric
impl Unpin for Metric
impl UnsafeUnpin for Metric
impl UnwindSafe for Metric
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