pub enum AuthProviderConfig {
OAuth(OAuthProviderConfig),
Secret(SecretProviderConfig),
}Expand description
Discriminated union for auth provider configuration
Variants§
OAuth(OAuthProviderConfig)
Secret(SecretProviderConfig)
Trait Implementations§
Source§impl Clone for AuthProviderConfig
impl Clone for AuthProviderConfig
Source§fn clone(&self) -> AuthProviderConfig
fn clone(&self) -> AuthProviderConfig
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 AuthProviderConfig
impl Debug for AuthProviderConfig
Source§impl<'de> Deserialize<'de> for AuthProviderConfig
impl<'de> Deserialize<'de> for AuthProviderConfig
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
Auto Trait Implementations§
impl Freeze for AuthProviderConfig
impl RefUnwindSafe for AuthProviderConfig
impl Send for AuthProviderConfig
impl Sync for AuthProviderConfig
impl Unpin for AuthProviderConfig
impl UnsafeUnpin for AuthProviderConfig
impl UnwindSafe for AuthProviderConfig
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