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 for TokenRequestStatus
impl PartialEq for TokenRequestStatus
Source§impl Serialize for TokenRequestStatus
impl Serialize for TokenRequestStatus
impl StructuralPartialEq for TokenRequestStatus
Auto Trait Implementations§
impl Freeze for TokenRequestStatus
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