[][src]Struct sentry_types::protocol::v7::SessionAttributes

pub struct SessionAttributes<'a> {
    pub release: Cow<'a, str>,
    pub environment: Option<Cow<'a, str>>,
    pub ip_address: Option<IpAddr>,
    pub user_agent: Option<String>,
}

Additional attributes for Sessions.

Fields

release: Cow<'a, str>

The release version string.

environment: Option<Cow<'a, str>>

The environment identifier.

ip_address: Option<IpAddr>

The ip address of the user. This data is not persisted but used for filtering.

user_agent: Option<String>

The user agent of the user. This data is not persisted but used for filtering.

Trait Implementations

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

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

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

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

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

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

Auto Trait Implementations

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.