#[non_exhaustive]pub struct AnonymousAuthenticationConfig {
pub mode: Mode,
/* private fields */
}Expand description
AnonymousAuthenticationConfig defines the settings needed to limit endpoints that allow anonymous authentication.
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.mode: ModeDefines the mode of limiting anonymous access in the cluster.
Implementations§
Trait Implementations§
Source§impl Clone for AnonymousAuthenticationConfig
impl Clone for AnonymousAuthenticationConfig
Source§fn clone(&self) -> AnonymousAuthenticationConfig
fn clone(&self) -> AnonymousAuthenticationConfig
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 Default for AnonymousAuthenticationConfig
impl Default for AnonymousAuthenticationConfig
Source§fn default() -> AnonymousAuthenticationConfig
fn default() -> AnonymousAuthenticationConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for AnonymousAuthenticationConfig
impl PartialEq for AnonymousAuthenticationConfig
Source§fn eq(&self, other: &AnonymousAuthenticationConfig) -> bool
fn eq(&self, other: &AnonymousAuthenticationConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnonymousAuthenticationConfig
Auto Trait Implementations§
impl Freeze for AnonymousAuthenticationConfig
impl RefUnwindSafe for AnonymousAuthenticationConfig
impl Send for AnonymousAuthenticationConfig
impl Sync for AnonymousAuthenticationConfig
impl Unpin for AnonymousAuthenticationConfig
impl UnwindSafe for AnonymousAuthenticationConfig
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