Struct k8s_openapi::api::authentication::v1::TokenRequestStatus
source · pub struct TokenRequestStatus {
pub expiration_timestamp: Time,
pub token: String,
}
Expand description
TokenRequestStatus is the result of a token request.
Fields§
§expiration_timestamp: Time
ExpirationTimestamp is the time of expiration of the returned token.
token: String
Token is the opaque bearer token.
Trait Implementations§
source§impl Clone for TokenRequestStatus
impl Clone for TokenRequestStatus
source§fn clone(&self) -> TokenRequestStatus
fn clone(&self) -> TokenRequestStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TokenRequestStatus
impl Debug for TokenRequestStatus
source§impl DeepMerge for TokenRequestStatus
impl DeepMerge for TokenRequestStatus
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl<'de> Deserialize<'de> for TokenRequestStatus
impl<'de> Deserialize<'de> for TokenRequestStatus
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<TokenRequestStatus> for TokenRequestStatus
impl PartialEq<TokenRequestStatus> for TokenRequestStatus
source§fn eq(&self, other: &TokenRequestStatus) -> bool
fn eq(&self, other: &TokenRequestStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TokenRequestStatus
impl Serialize for TokenRequestStatus
impl StructuralPartialEq for TokenRequestStatus
Auto Trait Implementations§
impl RefUnwindSafe for TokenRequestStatus
impl Send for TokenRequestStatus
impl Sync for TokenRequestStatus
impl Unpin for TokenRequestStatus
impl UnwindSafe for TokenRequestStatus
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more