pub enum AuthCredentialType {
ApiKey,
Http,
OAuth2,
OpenIdConnect,
ServiceAccount,
}Expand description
The type of authentication credential.
Variants§
ApiKey
API key authentication.
Http
HTTP-based authentication (basic or bearer).
OAuth2
OAuth 2.0 authentication.
OpenIdConnect
OpenID Connect authentication.
ServiceAccount
Google Cloud service account authentication.
Trait Implementations§
Source§impl Clone for AuthCredentialType
impl Clone for AuthCredentialType
Source§fn clone(&self) -> AuthCredentialType
fn clone(&self) -> AuthCredentialType
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 AuthCredentialType
impl Debug for AuthCredentialType
Source§impl<'de> Deserialize<'de> for AuthCredentialType
impl<'de> Deserialize<'de> for AuthCredentialType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AuthCredentialType
impl PartialEq for AuthCredentialType
Source§impl Serialize for AuthCredentialType
impl Serialize for AuthCredentialType
impl Eq for AuthCredentialType
impl StructuralPartialEq for AuthCredentialType
Auto Trait Implementations§
impl Freeze for AuthCredentialType
impl RefUnwindSafe for AuthCredentialType
impl Send for AuthCredentialType
impl Sync for AuthCredentialType
impl Unpin for AuthCredentialType
impl UnwindSafe for AuthCredentialType
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more