pub enum EventAggregateCount {
PropertyCount {
advanced_filter: Option<AdvancedFilter>,
filter: Option<EventFilter>,
properties: Vec<AggregateProperty>,
},
EventCount {
advanced_filter: Option<AdvancedFilter>,
filter: Option<EventFilter>,
},
}Expand description
Variants of the count aggregate on events.
Variants§
PropertyCount
Count the number of events with a given property (non-null), matching the filters.
Fields
§
advanced_filter: Option<AdvancedFilter>Advanced filter on events.
§
filter: Option<EventFilter>Simple filter on events.
§
properties: Vec<AggregateProperty>Properties to apply the aggration on. Currently limited to one property per request.
EventCount
Count the number of events matching filters.
Fields
§
advanced_filter: Option<AdvancedFilter>Advanced filter on events.
§
filter: Option<EventFilter>Simple filter on events.
Trait Implementations§
Source§impl Clone for EventAggregateCount
impl Clone for EventAggregateCount
Source§fn clone(&self) -> EventAggregateCount
fn clone(&self) -> EventAggregateCount
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 EventAggregateCount
impl Debug for EventAggregateCount
Source§impl<'de> Deserialize<'de> for EventAggregateCount
impl<'de> Deserialize<'de> for EventAggregateCount
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 EventAggregateCount
impl RefUnwindSafe for EventAggregateCount
impl Send for EventAggregateCount
impl Sync for EventAggregateCount
impl Unpin for EventAggregateCount
impl UnwindSafe for EventAggregateCount
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