pub enum BucketsQueryContainer {
ArrayValue(Vec<Value>),
KeyedValue(Value),
}Expand description
BucketsQueryContainer Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for the different buckets, the result is a dictionary.
Variants§
Trait Implementations§
Source§impl Clone for BucketsQueryContainer
impl Clone for BucketsQueryContainer
Source§fn clone(&self) -> BucketsQueryContainer
fn clone(&self) -> BucketsQueryContainer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BucketsQueryContainer
impl Debug for BucketsQueryContainer
Source§impl<'de> Deserialize<'de> for BucketsQueryContainer
impl<'de> Deserialize<'de> for BucketsQueryContainer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BucketsQueryContainer
impl RefUnwindSafe for BucketsQueryContainer
impl Send for BucketsQueryContainer
impl Sync for BucketsQueryContainer
impl Unpin for BucketsQueryContainer
impl UnsafeUnpin for BucketsQueryContainer
impl UnwindSafe for BucketsQueryContainer
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