[−][src]Struct sentry_types::protocol::v7::SessionUpdate
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]
pub fn clone(&self) -> SessionUpdate<'a>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Debug for SessionUpdate<'a>
[src]
impl<'de, 'a> Deserialize<'de> for SessionUpdate<'a>
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<SessionUpdate<'static>> for EnvelopeItem
[src]
pub fn from(session: SessionUpdate<'static>) -> Self
[src]
impl<'a> PartialEq<SessionUpdate<'a>> for SessionUpdate<'a>
[src]
pub fn eq(&self, other: &SessionUpdate<'a>) -> bool
[src]
pub fn ne(&self, other: &SessionUpdate<'a>) -> bool
[src]
impl<'a> Serialize for SessionUpdate<'a>
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,