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) -> Self where
N: Into<AggregationName>,
A: Into<Aggregation>,
pub fn aggregate<N, A>(self, aggregation_name: N, aggregation: A) -> Self where
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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FilterAggregation) -> bool
fn ne(&self, other: &FilterAggregation) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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