Struct actix_tools::sentry::sentry_client::User[]

pub struct User {
    pub id: Option<String>,
    pub email: Option<String>,
    pub ip_address: Option<IpAddress>,
    pub username: Option<String>,
    pub data: LinkedHashMap<String, Value, RandomState>,
}

Represents user info.

Fields

The ID of the user.

The email address of the user.

The remote ip address of the user.

A human readable username of the user.

Additional data that should be send along.

Trait Implementations

impl Clone for User

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for User

Returns the "default value" for a type. Read more

impl Debug for User

Formats the value using the given formatter. Read more

impl Serialize for User

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for User where
    User: Default

Deserialize this value from the given Serde deserializer. Read more

impl PartialEq<User> for User

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 Send for User

impl Sync for User