Enum rs_es::operations::search::aggregations::Aggregation [] [src]

pub enum Aggregation<'a> {
    Metrics(MetricsAggregation<'a>),
    Bucket(BucketAggregation<'a>, Option<Aggregations<'a>>),
}

Aggregations are either metrics or bucket-based aggregations

Variants

A metric aggregation (e.g. min)

A bucket aggregation, groups data into buckets and optionally applies sub-aggregations

Trait Implementations

impl<'a> From<Min<'a>> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<Max<'a>> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<Sum<'a>> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<Avg<'a>> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<Stats<'a>> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<ExtendedStats<'a>> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<ValueCount<'a>> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<Percentiles<'a>> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<PercentileRanks<'a>> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<Cardinality<'a>> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<(Global<'a>, Aggregations<'a>)> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<Global<'a>> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<(Filter<'a>, Aggregations<'a>)> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<Filter<'a>> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<(Filters<'a>, Aggregations<'a>)> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<Filters<'a>> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<(Missing<'a>, Aggregations<'a>)> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<Missing<'a>> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<(Nested<'a>, Aggregations<'a>)> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<Nested<'a>> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<(ReverseNested<'a>, Aggregations<'a>)> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<ReverseNested<'a>> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<(Children<'a>, Aggregations<'a>)> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<Children<'a>> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<(Terms<'a>, Aggregations<'a>)> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<Terms<'a>> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<(Range<'a>, Aggregations<'a>)> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<Range<'a>> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<(DateRange<'a>, Aggregations<'a>)> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<DateRange<'a>> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<(Histogram<'a>, Aggregations<'a>)> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<Histogram<'a>> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<(DateHistogram<'a>, Aggregations<'a>)> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<DateHistogram<'a>> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<(GeoDistance<'a>, Aggregations<'a>)> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<GeoDistance<'a>> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<(GeohashGrid<'a>, Aggregations<'a>)> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> From<GeohashGrid<'a>> for Aggregation<'a>
[src]

Performs the conversion.

impl<'a> Debug for Aggregation<'a>
[src]

Formats the value using the given formatter.

impl<'a> Serialize for Aggregation<'a>
[src]

Serializes this value into this serializer.