Struct sentry_core::protocol::SessionAggregateItem
source · [−]pub struct SessionAggregateItem {
pub started: SystemTime,
pub distinct_id: Option<String>,
pub exited: u32,
pub errored: u32,
pub abnormal: u32,
pub crashed: u32,
}
Expand description
An aggregation grouped by started
and distinct_id
.
Fields
started: SystemTime
The timestamp of when the session itself started.
distinct_id: Option<String>
The distinct identifier.
exited: u32
The number of exited sessions that ocurred.
errored: u32
The number of errored sessions that ocurred, not including the abnormal and crashed ones.
abnormal: u32
The number of abnormal sessions that ocurred.
crashed: u32
The number of crashed sessions that ocurred.
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SessionAggregateItem, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SessionAggregateItem, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for SessionAggregateItem
impl Send for SessionAggregateItem
impl Sync for SessionAggregateItem
impl Unpin for SessionAggregateItem
impl UnwindSafe for SessionAggregateItem
Blanket Implementations
Mutably borrows from an owned value. Read more