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§
Source§impl Clone for AvgAggregation
impl Clone for AvgAggregation
Source§fn clone(&self) -> AvgAggregation
fn clone(&self) -> AvgAggregation
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 AvgAggregation
impl Debug for AvgAggregation
Source§impl From<AvgAggregation> for Aggregation
impl From<AvgAggregation> for Aggregation
Source§fn from(q: AvgAggregation) -> Self
fn from(q: AvgAggregation) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AvgAggregation
impl PartialEq for AvgAggregation
Source§impl Serialize for AvgAggregation
impl Serialize for AvgAggregation
impl StructuralPartialEq for AvgAggregation
Auto Trait Implementations§
impl Freeze for AvgAggregation
impl RefUnwindSafe for AvgAggregation
impl Send for AvgAggregation
impl Sync for AvgAggregation
impl Unpin for AvgAggregation
impl UnwindSafe for AvgAggregation
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