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§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)