pub enum EventAggregateResponse {
Strings {
count: i64,
values: Vec<String>,
},
Integers {
count: i64,
values: Vec<i64>,
},
Properties {
count: i64,
values: Vec<AggregatedProperty>,
},
Count {
count: i64,
},
}Expand description
Response for an event aggregation request. The type of result depends on the requested aggregate.
Variants§
Strings
Aggregate with a list of string values
Fields
Integers
Aggregate with a list of integer values.
Fields
Properties
A bucket representing the result of the UniqueProperties aggregate.
Fields
§
values: Vec<AggregatedProperty>An array of unique properties.
Count
Aggregate returned when only a simple count is requested.
Trait Implementations§
Source§impl Clone for EventAggregateResponse
impl Clone for EventAggregateResponse
Source§fn clone(&self) -> EventAggregateResponse
fn clone(&self) -> EventAggregateResponse
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 EventAggregateResponse
impl Debug for EventAggregateResponse
Source§impl<'de> Deserialize<'de> for EventAggregateResponse
impl<'de> Deserialize<'de> for EventAggregateResponse
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 EventAggregateResponse
impl RefUnwindSafe for EventAggregateResponse
impl Send for EventAggregateResponse
impl Sync for EventAggregateResponse
impl Unpin for EventAggregateResponse
impl UnwindSafe for EventAggregateResponse
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