Struct qcs_api_client_common::configuration::Tokens
source · pub struct Tokens {
pub bearer_access_token: Option<String>,
pub refresh_token: Option<String>,
}Expand description
A single type containing an access token and an associated refresh token.
Fields§
§bearer_access_token: Option<String>The Bearer token to include in the Authorization header.
refresh_token: Option<String>The token used to refresh the access token.
Trait Implementations§
source§impl PartialEq for Tokens
impl PartialEq for Tokens
impl Eq for Tokens
impl StructuralPartialEq for Tokens
Auto Trait Implementations§
impl Freeze for Tokens
impl RefUnwindSafe for Tokens
impl Send for Tokens
impl Sync for Tokens
impl Unpin for Tokens
impl UnwindSafe for Tokens
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.