Enum rs_es::operations::search::aggregations::metrics::MetricsAggregation
[−]
[src]
pub enum MetricsAggregation<'a> { Min(Min<'a>), Max(Max<'a>), Sum(Sum<'a>), Avg(Avg<'a>), Stats(Stats<'a>), ExtendedStats(ExtendedStats<'a>), ValueCount(ValueCount<'a>), Percentiles(Percentiles<'a>), PercentileRanks(PercentileRanks<'a>), Cardinality(Cardinality<'a>), GeoBounds(GeoBounds<'a>), ScriptedMetric(ScriptedMetric<'a>), }
Individual aggregations and their options
Variants
Min(Min<'a>)
Max(Max<'a>)
Sum(Sum<'a>)
Avg(Avg<'a>)
Stats(Stats<'a>)
ExtendedStats(ExtendedStats<'a>)
ValueCount(ValueCount<'a>)
Percentiles(Percentiles<'a>)
PercentileRanks(PercentileRanks<'a>)
Cardinality(Cardinality<'a>)
GeoBounds(GeoBounds<'a>)
ScriptedMetric(ScriptedMetric<'a>)
Methods
impl<'a> MetricsAggregation<'a>
[src]
Trait Implementations
impl<'a> Debug for MetricsAggregation<'a>
[src]
impl<'a> Serialize for MetricsAggregation<'a>
[src]
fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer
Serializes this value into this serializer.