pub enum ApplicationDefaultCredentialsTypes<C>where
C: HyperClientBuilder,{
ServiceAccount(AuthenticatorBuilder<C, ServiceAccountFlowOpts>),
InstanceMetadata(AuthenticatorBuilder<C, ApplicationDefaultCredentialsFlowOpts>),
}
Expand description
Types of authenticators provided by ApplicationDefaultCredentialsAuthenticator
Variants§
ServiceAccount(AuthenticatorBuilder<C, ServiceAccountFlowOpts>)
Service account based authenticator signature
InstanceMetadata(AuthenticatorBuilder<C, ApplicationDefaultCredentialsFlowOpts>)
GCE Instance Metadata based authenticator signature
Auto Trait Implementations§
impl<C> Freeze for ApplicationDefaultCredentialsTypes<C>where
C: Freeze,
impl<C> !RefUnwindSafe for ApplicationDefaultCredentialsTypes<C>
impl<C> Send for ApplicationDefaultCredentialsTypes<C>where
C: Send,
impl<C> Sync for ApplicationDefaultCredentialsTypes<C>where
C: Sync,
impl<C> Unpin for ApplicationDefaultCredentialsTypes<C>where
C: Unpin,
impl<C> !UnwindSafe for ApplicationDefaultCredentialsTypes<C>
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