pub struct AuthProviderConfig {
pub name: String,
pub provider_type: AuthProviderType,
pub settings: HashMap<String, Value>,
pub enabled: bool,
pub priority: u32,
}Expand description
Authentication provider configuration
Fields§
§name: StringProvider name
provider_type: AuthProviderTypeProvider type
settings: HashMap<String, Value>Provider-specific settings
enabled: boolWhether this provider is enabled
priority: u32Priority (lower number = higher priority)
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 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