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