[][src]Struct iml_wire_types::User

pub struct User {
    pub alert_subscriptions: Option<Vec<AlertSubscription>>,
    pub email: String,
    pub first_name: String,
    pub full_name: String,
    pub groups: Option<Vec<Group>>,
    pub id: u32,
    pub is_superuser: bool,
    pub last_name: String,
    pub new_password1: Option<String>,
    pub new_password2: Option<String>,
    pub password1: Option<String>,
    pub password2: Option<String>,
    pub resource_uri: String,
    pub username: String,
}

A User record from api/user.

Fields

alert_subscriptions: Option<Vec<AlertSubscription>>email: Stringfirst_name: Stringfull_name: Stringgroups: Option<Vec<Group>>id: u32is_superuser: boollast_name: Stringnew_password1: Option<String>new_password2: Option<String>password1: Option<String>password2: Option<String>resource_uri: Stringusername: String

Trait Implementations

impl Clone for User[src]

impl Debug for User[src]

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

impl EndpointName for User[src]

impl Eq for User[src]

impl PartialEq<User> for User[src]

impl Serialize for User[src]

impl StructuralEq for User[src]

impl StructuralPartialEq for User[src]

Auto Trait Implementations

impl RefUnwindSafe for User

impl Send for User

impl Sync for User

impl Unpin for User

impl UnwindSafe for User

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T> EndpointNameSelf for T where
    T: EndpointName
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToBytes for T where
    T: Serialize
[src]

impl<T> ToJsonValue for T where
    T: Serialize
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.