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

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

Aggregations are either metrics or bucket-based aggregations

Variants

Metrics(MetricsAggregation<'a>)

A metric aggregation (e.g. min)

Bucket(BucketAggregation<'a>, Option<Aggregations<'a>>)

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

Trait Implementations

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Auto Trait Implementations

impl<'a> Send for Aggregation<'a>

impl<'a> Sync for Aggregation<'a>

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Erased for T

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err