Struct elasticsearch_dsl::search::aggregations::metrics::SumAggregation
source · [−]pub struct SumAggregation { /* private fields */ }
Expand description
A single-value
metrics aggregation that sums up numeric values that are extracted from the
aggregated documents. These values can be extracted either from specific numeric or histogram fields.
Implementations
Trait Implementations
sourceimpl Clone for SumAggregation
impl Clone for SumAggregation
sourcefn clone(&self) -> SumAggregation
fn clone(&self) -> SumAggregation
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 SumAggregation
impl Debug for SumAggregation
sourceimpl From<SumAggregation> for Aggregation
impl From<SumAggregation> for Aggregation
sourcefn from(q: SumAggregation) -> Self
fn from(q: SumAggregation) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SumAggregation> for SumAggregation
impl PartialEq<SumAggregation> for SumAggregation
sourcefn eq(&self, other: &SumAggregation) -> bool
fn eq(&self, other: &SumAggregation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SumAggregation) -> bool
fn ne(&self, other: &SumAggregation) -> bool
This method tests for !=
.
sourceimpl Serialize for SumAggregation
impl Serialize for SumAggregation
impl StructuralPartialEq for SumAggregation
Auto Trait Implementations
impl RefUnwindSafe for SumAggregation
impl Send for SumAggregation
impl Sync for SumAggregation
impl Unpin for SumAggregation
impl UnwindSafe for SumAggregation
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