[][src]Struct k8s_openapi::api::storage::v1::TokenRequest

pub struct TokenRequest {
    pub audience: String,
    pub expiration_seconds: Option<i64>,
}

TokenRequest contains parameters of a service account token.

Fields

audience: String

Audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.

expiration_seconds: Option<i64>

ExpirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".

Trait Implementations

impl Clone for TokenRequest[src]

impl Debug for TokenRequest[src]

impl Default for TokenRequest[src]

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

impl PartialEq<TokenRequest> for TokenRequest[src]

impl Serialize for TokenRequest[src]

impl StructuralPartialEq for TokenRequest[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, 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.