pub struct CompositeAggregation { /* private fields */ }
Expand description
A multi-bucket aggregation that creates composite buckets from different sources.
Implementations§
Source§impl CompositeAggregation
impl CompositeAggregation
Sourcepub fn size(self, size: u64) -> Self
pub fn size(self, size: u64) -> Self
The size
parameter can be set to define how many composite buckets should be returned.
size
- The maximum number of composite buckets to be returned.
Sourcepub fn after<T>(self, after: T) -> Self
pub fn after<T>(self, after: T) -> Self
The after
parameter can be set to paginate composite buckets.
after
- The key to start after for pagination in composite aggregations.
Trait Implementations§
Source§impl Clone for CompositeAggregation
impl Clone for CompositeAggregation
Source§fn clone(&self) -> CompositeAggregation
fn clone(&self) -> CompositeAggregation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CompositeAggregation
impl Debug for CompositeAggregation
Source§impl From<CompositeAggregation> for Aggregation
impl From<CompositeAggregation> for Aggregation
Source§fn from(q: CompositeAggregation) -> Self
fn from(q: CompositeAggregation) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CompositeAggregation
impl PartialEq for CompositeAggregation
Source§impl Serialize for CompositeAggregation
impl Serialize for CompositeAggregation
impl StructuralPartialEq for CompositeAggregation
Auto Trait Implementations§
impl Freeze for CompositeAggregation
impl RefUnwindSafe for CompositeAggregation
impl Send for CompositeAggregation
impl Sync for CompositeAggregation
impl Unpin for CompositeAggregation
impl UnwindSafe for CompositeAggregation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more