Struct relay_event_schema::protocol::SessionAttributes
source · pub struct SessionAttributes {
pub release: String,
pub environment: Option<String>,
pub ip_address: Option<IpAddr>,
pub user_agent: Option<String>,
}
Expand description
Additional attributes for Sessions.
Fields§
§release: String
The release version string.
environment: Option<String>
The environment identifier.
ip_address: Option<IpAddr>
The ip address of the user.
user_agent: Option<String>
The user agent of the user.
Trait Implementations§
source§impl Clone for SessionAttributes
impl Clone for SessionAttributes
source§fn clone(&self) -> SessionAttributes
fn clone(&self) -> SessionAttributes
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 SessionAttributes
impl Debug for SessionAttributes
source§impl<'de> Deserialize<'de> for SessionAttributes
impl<'de> Deserialize<'de> for SessionAttributes
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 SessionAttributes
impl PartialEq for SessionAttributes
source§impl Serialize for SessionAttributes
impl Serialize for SessionAttributes
impl StructuralPartialEq for SessionAttributes
Auto Trait Implementations§
impl Freeze for SessionAttributes
impl RefUnwindSafe for SessionAttributes
impl Send for SessionAttributes
impl Sync for SessionAttributes
impl Unpin for SessionAttributes
impl UnwindSafe for SessionAttributes
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
)