Struct sentry_types::protocol::v7::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
sourceimpl Clone for SessionAggregateItem
impl Clone for SessionAggregateItem
sourcefn clone(&self) -> SessionAggregateItem
fn clone(&self) -> SessionAggregateItem
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SessionAggregateItem
impl Debug for SessionAggregateItem
sourceimpl<'de> Deserialize<'de> for SessionAggregateItem
impl<'de> Deserialize<'de> for SessionAggregateItem
sourcefn 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
sourceimpl PartialEq<SessionAggregateItem> for SessionAggregateItem
impl PartialEq<SessionAggregateItem> for SessionAggregateItem
sourcefn eq(&self, other: &SessionAggregateItem) -> bool
fn eq(&self, other: &SessionAggregateItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SessionAggregateItem) -> bool
fn ne(&self, other: &SessionAggregateItem) -> bool
This method tests for !=
.
sourceimpl Serialize for SessionAggregateItem
impl Serialize for SessionAggregateItem
impl StructuralPartialEq for SessionAggregateItem
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more