pub struct ServiceAccountTokenProvider { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for ServiceAccountTokenProvider
impl Clone for ServiceAccountTokenProvider
Source§fn clone(&self) -> ServiceAccountTokenProvider
fn clone(&self) -> ServiceAccountTokenProvider
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 ServiceAccountTokenProvider
impl Debug for ServiceAccountTokenProvider
Source§impl TokenProvider for ServiceAccountTokenProvider
impl TokenProvider for ServiceAccountTokenProvider
fn access_token<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn refresh_token<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for ServiceAccountTokenProvider
impl !RefUnwindSafe for ServiceAccountTokenProvider
impl Send for ServiceAccountTokenProvider
impl Sync for ServiceAccountTokenProvider
impl Unpin for ServiceAccountTokenProvider
impl !UnwindSafe for ServiceAccountTokenProvider
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