pub struct MaxAggregation { /* private fields */ }
Expand description
A single-value
metrics aggregation that keeps track and returns the maximum value among the
numeric values extracted from the aggregated documents.
The
min
andmax
aggregation operate on thedouble
representation of the data. As a consequence, the result may be approximate when running on longs whose absolute value is greater than2^53
.
Implementations§
Trait Implementations§
Source§impl Clone for MaxAggregation
impl Clone for MaxAggregation
Source§fn clone(&self) -> MaxAggregation
fn clone(&self) -> MaxAggregation
Returns a copy 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 MaxAggregation
impl Debug for MaxAggregation
Source§impl From<MaxAggregation> for Aggregation
impl From<MaxAggregation> for Aggregation
Source§fn from(q: MaxAggregation) -> Self
fn from(q: MaxAggregation) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MaxAggregation
impl PartialEq for MaxAggregation
Source§impl Serialize for MaxAggregation
impl Serialize for MaxAggregation
impl StructuralPartialEq for MaxAggregation
Auto Trait Implementations§
impl Freeze for MaxAggregation
impl RefUnwindSafe for MaxAggregation
impl Send for MaxAggregation
impl Sync for MaxAggregation
impl Unpin for MaxAggregation
impl UnwindSafe for MaxAggregation
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