pub struct Bucket {
pub key: Json,
pub doc_count: u64,
pub aggregations: Aggregations,
}Expand description
One bucket of an aggregation.
Fields§
§key: JsonThe value, which is a string for a keyword field and a number for a
numeric or date one.
doc_count: u64§aggregations: AggregationsWhatever was nested inside this bucket.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Bucket
Auto Trait Implementations§
impl Freeze for Bucket
impl RefUnwindSafe for Bucket
impl Send for Bucket
impl Sync for Bucket
impl Unpin for Bucket
impl UnsafeUnpin for Bucket
impl UnwindSafe for Bucket
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