Struct elasticsearch_dsl::search::aggregations::metrics::MaxAggregation
source · [−]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
sourceimpl Clone for MaxAggregation
impl Clone for MaxAggregation
sourcefn clone(&self) -> MaxAggregation
fn clone(&self) -> MaxAggregation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MaxAggregation
impl Debug for MaxAggregation
sourceimpl From<MaxAggregation> for Aggregation
impl From<MaxAggregation> for Aggregation
sourcefn from(q: MaxAggregation) -> Self
fn from(q: MaxAggregation) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<MaxAggregation> for MaxAggregation
impl PartialEq<MaxAggregation> for MaxAggregation
sourcefn eq(&self, other: &MaxAggregation) -> bool
fn eq(&self, other: &MaxAggregation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MaxAggregation) -> bool
fn ne(&self, other: &MaxAggregation) -> bool
This method tests for !=
.
sourceimpl Serialize for MaxAggregation
impl Serialize for MaxAggregation
impl StructuralPartialEq for MaxAggregation
Auto Trait Implementations
impl RefUnwindSafe for MaxAggregation
impl Send for MaxAggregation
impl Sync for MaxAggregation
impl Unpin for MaxAggregation
impl UnwindSafe for MaxAggregation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more