Struct elasticsearch_dsl::search::aggregations::bucket::FilterAggregation
source · [−]pub struct FilterAggregation { /* private fields */ }Expand description
A single bucket aggregation that narrows the set of documents to those that match a query.
Implementations
sourceimpl FilterAggregation
impl FilterAggregation
sourcepub fn aggregate<N, A>(self, aggregation_name: N, aggregation: A) -> Selfwhere
N: Into<AggregationName>,
A: Into<Aggregation>,
pub fn aggregate<N, A>(self, aggregation_name: N, aggregation: A) -> Selfwhere
N: Into<AggregationName>,
A: Into<Aggregation>,
Pushes aggregation
Trait Implementations
sourceimpl Clone for FilterAggregation
impl Clone for FilterAggregation
sourcefn clone(&self) -> FilterAggregation
fn clone(&self) -> FilterAggregation
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for FilterAggregation
impl Debug for FilterAggregation
sourceimpl From<FilterAggregation> for Aggregation
impl From<FilterAggregation> for Aggregation
sourcefn from(q: FilterAggregation) -> Self
fn from(q: FilterAggregation) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<FilterAggregation> for FilterAggregation
impl PartialEq<FilterAggregation> for FilterAggregation
sourcefn eq(&self, other: &FilterAggregation) -> bool
fn eq(&self, other: &FilterAggregation) -> bool
sourceimpl Serialize for FilterAggregation
impl Serialize for FilterAggregation
impl StructuralPartialEq for FilterAggregation
Auto Trait Implementations
impl RefUnwindSafe for FilterAggregation
impl Send for FilterAggregation
impl Sync for FilterAggregation
impl Unpin for FilterAggregation
impl UnwindSafe for FilterAggregation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more