Struct k8s_openapi::v1_11::api::authentication::v1beta1::TokenReviewStatus[][src]

pub struct TokenReviewStatus {
    pub authenticated: Option<bool>,
    pub error: Option<String>,
    pub user: Option<UserInfo>,
}

TokenReviewStatus is the result of the token authentication request.

Fields

Authenticated indicates that the token was associated with a known user.

Error indicates that the token couldn't be checked

User is the UserInfo associated with the provided token.

Trait Implementations

impl Clone for TokenReviewStatus
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TokenReviewStatus
[src]

Formats the value using the given formatter. Read more

impl Default for TokenReviewStatus
[src]

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

impl PartialEq for TokenReviewStatus
[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 TokenReviewStatus
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for TokenReviewStatus
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations