[][src]Struct sentry_core::User

pub struct User {
    pub id: Option<String>,
    pub email: Option<String>,
    pub ip_address: Option<IpAddress>,
    pub username: Option<String>,
    pub other: BTreeMap<String, Value>,

Represents user info.


id: Option<String>

The ID of the user.

email: Option<String>

The email address of the user.

ip_address: Option<IpAddress>

The remote ip address of the user.

username: Option<String>

A human readable username of the user.

other: BTreeMap<String, Value>

Additional arbitrary fields for forwards compatibility.

Trait Implementations

impl Clone for User[src]

impl Debug for User[src]

impl Default for User[src]

impl<'de> Deserialize<'de> for User[src]

impl PartialEq<User> for User[src]

impl Serialize for User[src]

impl StructuralPartialEq for User[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,