[][src]Struct ckb_sentry_core::protocol::SessionUpdate

pub struct SessionUpdate<'a> {
    pub session_id: Uuid,
    pub distinct_id: Option<String>,
    pub sequence: Option<u64>,
    pub timestamp: Option<DateTime<Utc>>,
    pub started: DateTime<Utc>,
    pub init: bool,
    pub duration: Option<f64>,
    pub status: SessionStatus,
    pub errors: u64,
    pub attributes: SessionAttributes<'a>,
}

A Release Health Session.

Refer to the Sessions documentation for more details.

Fields

session_id: Uuid

The session identifier.

distinct_id: Option<String>

The distinct identifier. Should be device or user ID.

sequence: Option<u64>

An optional logical clock.

timestamp: Option<DateTime<Utc>>

The timestamp of when the session change event was created.

started: DateTime<Utc>

The timestamp of when the session itself started.

init: bool

A flag that indicates that this is the initial transmission of the session.

duration: Option<f64>

An optional duration of the session so far.

status: SessionStatus

The status of the session.

errors: u64

The number of errors that ocurred.

attributes: SessionAttributes<'a>

The session event attributes.

Trait Implementations

impl<'a> Clone for SessionUpdate<'a>[src]

impl<'a> Debug for SessionUpdate<'a>[src]

impl<'de, 'a> Deserialize<'de> for SessionUpdate<'a>[src]

impl From<SessionUpdate<'static>> for EnvelopeItem[src]

impl<'a> PartialEq<SessionUpdate<'a>> for SessionUpdate<'a>[src]

impl<'a> Serialize for SessionUpdate<'a>[src]

impl<'a> StructuralPartialEq for SessionUpdate<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for SessionUpdate<'a>[src]

impl<'a> Send for SessionUpdate<'a>[src]

impl<'a> Sync for SessionUpdate<'a>[src]

impl<'a> Unpin for SessionUpdate<'a>[src]

impl<'a> UnwindSafe for SessionUpdate<'a>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,