Struct sentry_types::protocol::v7::SessionAttributes [−][src]
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>,
}Expand description
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
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl<'a> RefUnwindSafe for SessionAttributes<'a>impl<'a> Send for SessionAttributes<'a>impl<'a> Sync for SessionAttributes<'a>impl<'a> Unpin for SessionAttributes<'a>impl<'a> UnwindSafe for SessionAttributes<'a>Blanket Implementations
Mutably borrows from an owned value. Read more