Enum elasticsearch_dsl::search::aggregations::Aggregation [−][src]
pub enum Aggregation {
Terms(Box<TermsAggregation>),
TopHits(Box<TopHitsAggregation>),
}Expand description
A container enum for supported Elasticsearch query types
Variants
Terms(Box<TermsAggregation>)Tuple Fields of Terms
0: Box<TermsAggregation>TopHits(Box<TopHitsAggregation>)Tuple Fields of TopHits
Implementations
Creates an instance of TermsAggregation
name- name of the aggregationfield- field to group by
Creates an instance of TopHitsAggregation
name- name of the aggregation
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for Aggregation
impl Send for Aggregation
impl Sync for Aggregation
impl Unpin for Aggregation
impl UnwindSafe for Aggregation
Blanket Implementations
Mutably borrows from an owned value. Read more