Struct sentry::User [] [src]

pub struct User {
    pub id: Option<String>,
    pub email: Option<String>,
    pub ip_address: Option<IpAddr>,
    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 PartialEq<User> for User
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'de> Deserialize<'de> for User where
    User: Default
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

impl Clone for User
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Serialize for User
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl Debug for User
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for User
[src]

[src]

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

Auto Trait Implementations

impl Send for User

impl Sync for User