pub struct DeveloperCredential { /* private fields */ }Implementations§
Source§impl DeveloperCredential
impl DeveloperCredential
pub fn new(options: Option<DeveloperCredentialOptions>) -> Arc<Self>
Trait Implementations§
Source§impl Debug for DeveloperCredential
impl Debug for DeveloperCredential
Source§impl TokenCredential for DeveloperCredential
impl TokenCredential for DeveloperCredential
Source§fn get_token<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
scopes: &'life1 [&'life2 str],
options: Option<TokenRequestOptions>,
) -> Pin<Box<dyn Future<Output = Result<AccessToken>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn get_token<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
scopes: &'life1 [&'life2 str],
options: Option<TokenRequestOptions>,
) -> Pin<Box<dyn Future<Output = Result<AccessToken>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Gets an
AccessToken for the specified scopesAuto Trait Implementations§
impl !Freeze for DeveloperCredential
impl !RefUnwindSafe for DeveloperCredential
impl Send for DeveloperCredential
impl Sync for DeveloperCredential
impl Unpin for DeveloperCredential
impl !UnwindSafe for DeveloperCredential
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