Struct relay_event_schema::protocol::SessionAggregateItem
source · pub struct SessionAggregateItem {
pub started: DateTime<Utc>,
pub distinct_id: Option<String>,
pub exited: u32,
pub errored: u32,
pub abnormal: u32,
pub crashed: u32,
}
Fields§
§started: DateTime<Utc>
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§
source§impl Clone for SessionAggregateItem
impl Clone for SessionAggregateItem
source§fn clone(&self) -> SessionAggregateItem
fn clone(&self) -> SessionAggregateItem
Returns a copy 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 SessionAggregateItem
impl Debug for SessionAggregateItem
source§impl<'de> Deserialize<'de> for SessionAggregateItem
impl<'de> Deserialize<'de> for SessionAggregateItem
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
source§impl PartialEq for SessionAggregateItem
impl PartialEq for SessionAggregateItem
source§impl Serialize for SessionAggregateItem
impl Serialize for SessionAggregateItem
source§impl SessionLike for SessionAggregateItem
impl SessionLike for SessionAggregateItem
fn started(&self) -> DateTime<Utc>
fn distinct_id(&self) -> Option<&String>
fn total_count(&self) -> u32
fn abnormal_count(&self) -> u32
fn crashed_count(&self) -> u32
fn all_errors(&self) -> Option<SessionErrored>
fn abnormal_mechanism(&self) -> AbnormalMechanism
impl StructuralPartialEq for SessionAggregateItem
Auto Trait Implementations§
impl Freeze for SessionAggregateItem
impl RefUnwindSafe for SessionAggregateItem
impl Send for SessionAggregateItem
impl Sync for SessionAggregateItem
impl Unpin for SessionAggregateItem
impl UnwindSafe for SessionAggregateItem
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)