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
extra: Option<BTreeMap<String, Vec<String>>>
Any additional information provided by the authenticator.
groups: Option<Vec<String>>
The names of groups this user is a part of.
uid: Option<String>
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.
username: Option<String>
The name that uniquely identifies this user among all active users.
Trait Implementations
impl Clone for UserInfo
[src]
impl Clone for UserInfo
fn clone(&self) -> UserInfo
[src]
fn clone(&self) -> UserInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for UserInfo
[src]
impl Debug for UserInfo
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for UserInfo
[src]
impl Default for UserInfo
impl PartialEq for UserInfo
[src]
impl PartialEq for UserInfo
fn eq(&self, other: &UserInfo) -> bool
[src]
fn eq(&self, other: &UserInfo) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &UserInfo) -> bool
[src]
fn ne(&self, other: &UserInfo) -> bool
This method tests for !=
.
impl<'de> Deserialize<'de> for UserInfo
[src]
impl<'de> Deserialize<'de> for UserInfo
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Serialize for UserInfo
[src]
impl Serialize for UserInfo