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
minandmaxaggregation operate on thedoublerepresentation 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 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl 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
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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