#[non_exhaustive]pub struct AuthenticatorGroupsConfig {
pub enabled: bool,
pub security_group: String,
}Expand description
Configuration for returning group information from authenticators.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.enabled: boolWhether this cluster should return group membership lookups during authentication using a group of security groups.
security_group: StringThe name of the security group-of-groups to be used. Only relevant if enabled = true.
Implementations§
Source§impl AuthenticatorGroupsConfig
impl AuthenticatorGroupsConfig
Sourcepub fn set_enabled<T: Into<bool>>(self, v: T) -> Self
pub fn set_enabled<T: Into<bool>>(self, v: T) -> Self
Sets the value of enabled.
Sourcepub fn set_security_group<T: Into<String>>(self, v: T) -> Self
pub fn set_security_group<T: Into<String>>(self, v: T) -> Self
Sets the value of security_group.
Trait Implementations§
Source§impl Clone for AuthenticatorGroupsConfig
impl Clone for AuthenticatorGroupsConfig
Source§fn clone(&self) -> AuthenticatorGroupsConfig
fn clone(&self) -> AuthenticatorGroupsConfig
Returns a copy 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 AuthenticatorGroupsConfig
impl Debug for AuthenticatorGroupsConfig
Source§impl Default for AuthenticatorGroupsConfig
impl Default for AuthenticatorGroupsConfig
Source§fn default() -> AuthenticatorGroupsConfig
fn default() -> AuthenticatorGroupsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthenticatorGroupsConfigwhere
AuthenticatorGroupsConfig: Default,
impl<'de> Deserialize<'de> for AuthenticatorGroupsConfigwhere
AuthenticatorGroupsConfig: Default,
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 Message for AuthenticatorGroupsConfig
impl Message for AuthenticatorGroupsConfig
impl StructuralPartialEq for AuthenticatorGroupsConfig
Auto Trait Implementations§
impl Freeze for AuthenticatorGroupsConfig
impl RefUnwindSafe for AuthenticatorGroupsConfig
impl Send for AuthenticatorGroupsConfig
impl Sync for AuthenticatorGroupsConfig
impl Unpin for AuthenticatorGroupsConfig
impl UnwindSafe for AuthenticatorGroupsConfig
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