[][src]Struct keycloak::types::UserRepresentation

pub struct UserRepresentation<'a> {
    pub access: Option<HashMap<Cow<'a, str>, Value>>,
    pub attributes: Option<HashMap<Cow<'a, str>, Value>>,
    pub client_consents: Option<Vec<UserConsentRepresentation<'a>>>,
    pub client_roles: Option<HashMap<Cow<'a, str>, Value>>,
    pub created_timestamp: Option<i64>,
    pub credentials: Option<Vec<CredentialRepresentation<'a>>>,
    pub disableable_credential_types: Option<Vec<Cow<'a, str>>>,
    pub email: Option<Cow<'a, str>>,
    pub email_verified: Option<bool>,
    pub enabled: Option<bool>,
    pub federated_identities: Option<Vec<FederatedIdentityRepresentation<'a>>>,
    pub federation_link: Option<Cow<'a, str>>,
    pub first_name: Option<Cow<'a, str>>,
    pub groups: Option<Vec<Cow<'a, str>>>,
    pub id: Option<Cow<'a, str>>,
    pub last_name: Option<Cow<'a, str>>,
    pub not_before: Option<i32>,
    pub origin: Option<Cow<'a, str>>,
    pub realm_roles: Option<Vec<Cow<'a, str>>>,
    pub required_actions: Option<Vec<Cow<'a, str>>>,
    pub self_: Option<Cow<'a, str>>,
    pub service_account_client_id: Option<Cow<'a, str>>,
    pub username: Option<Cow<'a, str>>,
}

Fields

access: Option<HashMap<Cow<'a, str>, Value>>attributes: Option<HashMap<Cow<'a, str>, Value>>client_consents: Option<Vec<UserConsentRepresentation<'a>>>client_roles: Option<HashMap<Cow<'a, str>, Value>>created_timestamp: Option<i64>credentials: Option<Vec<CredentialRepresentation<'a>>>disableable_credential_types: Option<Vec<Cow<'a, str>>>email: Option<Cow<'a, str>>email_verified: Option<bool>enabled: Option<bool>federated_identities: Option<Vec<FederatedIdentityRepresentation<'a>>>federation_link: Option<Cow<'a, str>>first_name: Option<Cow<'a, str>>groups: Option<Vec<Cow<'a, str>>>id: Option<Cow<'a, str>>last_name: Option<Cow<'a, str>>not_before: Option<i32>origin: Option<Cow<'a, str>>realm_roles: Option<Vec<Cow<'a, str>>>required_actions: Option<Vec<Cow<'a, str>>>self_: Option<Cow<'a, str>>service_account_client_id: Option<Cow<'a, str>>username: Option<Cow<'a, str>>

Trait Implementations

impl<'a> Clone for UserRepresentation<'a>[src]

impl<'a> Debug for UserRepresentation<'a>[src]

impl<'a> Default for UserRepresentation<'a>[src]

impl<'de, 'a> Deserialize<'de> for UserRepresentation<'a>[src]

impl<'a> PartialEq<UserRepresentation<'a>> for UserRepresentation<'a>[src]

impl<'a> Serialize for UserRepresentation<'a>[src]

impl<'a> StructuralPartialEq for UserRepresentation<'a>[src]

Auto Trait Implementations

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.