Struct k8s_openapi::api::storage::v1::TokenRequest [−][src]
Expand description
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
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TokenRequest
impl Send for TokenRequest
impl Sync for TokenRequest
impl Unpin for TokenRequest
impl UnwindSafe for TokenRequest
Blanket Implementations
Mutably borrows from an owned value. Read more