Struct k8s_openapi::v1_9::api::authentication::v1::UserInfo[][src]

pub struct UserInfo {
    pub extra: Option<BTreeMap<String, Vec<String>>>,
    pub groups: Option<Vec<String>>,
    pub uid: Option<String>,
    pub username: Option<String>,
}

UserInfo holds the information about the user needed to implement the user.Info interface.

Fields

Any additional information provided by the authenticator.

The names of groups this user is a part of.

A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.

The name that uniquely identifies this user among all active users.

Trait Implementations

impl Clone for UserInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for UserInfo
[src]

Formats the value using the given formatter. Read more

impl Default for UserInfo
[src]

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

impl PartialEq for UserInfo
[src]

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

This method tests for !=.

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

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for UserInfo
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for UserInfo

impl Sync for UserInfo