pub struct AggregationResponse {
pub aggregations: Option<HashMap<String, Value>>,
pub aggregation_groups: Option<Vec<AggregationGroup>>,
}Expand description
Response for aggregation query
Fields§
§aggregations: Option<HashMap<String, Value>>Aggregation results (without grouping)
aggregation_groups: Option<Vec<AggregationGroup>>Grouped aggregation results (with group_by)
Trait Implementations§
Source§impl Clone for AggregationResponse
impl Clone for AggregationResponse
Source§fn clone(&self) -> AggregationResponse
fn clone(&self) -> AggregationResponse
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 AggregationResponse
impl Debug for AggregationResponse
Source§impl<'de> Deserialize<'de> for AggregationResponse
impl<'de> Deserialize<'de> for AggregationResponse
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 AggregationResponse
impl RefUnwindSafe for AggregationResponse
impl Send for AggregationResponse
impl Sync for AggregationResponse
impl Unpin for AggregationResponse
impl UnsafeUnpin for AggregationResponse
impl UnwindSafe for AggregationResponse
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