pub struct TokenStoreKey {
pub profile: ApiProfile,
pub project_number: Option<String>,
pub endpoint_location: Option<String>,
pub user_hint: Option<String>,
}Expand description
Key for storing tokens in RefreshTokenStore
Fields§
§profile: ApiProfile§project_number: Option<String>§endpoint_location: Option<String>§user_hint: Option<String>Trait Implementations§
Source§impl Clone for TokenStoreKey
impl Clone for TokenStoreKey
Source§fn clone(&self) -> TokenStoreKey
fn clone(&self) -> TokenStoreKey
Returns a duplicate 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 TokenStoreKey
impl Debug for TokenStoreKey
Source§impl Display for TokenStoreKey
impl Display for TokenStoreKey
Source§impl Hash for TokenStoreKey
impl Hash for TokenStoreKey
Source§impl PartialEq for TokenStoreKey
impl PartialEq for TokenStoreKey
impl Eq for TokenStoreKey
impl StructuralPartialEq for TokenStoreKey
Auto Trait Implementations§
impl Freeze for TokenStoreKey
impl RefUnwindSafe for TokenStoreKey
impl Send for TokenStoreKey
impl Sync for TokenStoreKey
impl Unpin for TokenStoreKey
impl UnwindSafe for TokenStoreKey
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.