[][src]Struct sdk_cds::models::User

pub struct User {
    pub id: i64,
    pub username: String,
    pub fullname: String,
    pub email: String,
    pub admin: bool,
    pub groups: Option<Vec<Group>>,
    pub origin: String,
    pub permissions: Permissions,
}

Fields

id: i64username: Stringfullname: Stringemail: Stringadmin: boolgroups: Option<Vec<Group>>origin: Stringpermissions: Permissions

Trait Implementations

impl Default for User[src]

impl Debug for User[src]

impl Serialize for User[src]

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

Auto Trait Implementations

impl Send for User

impl Sync for User

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

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

impl<T> Erased for T

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

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