#[non_exhaustive]pub struct AdvancedSecurityOptions {
pub enabled: Option<bool>,
pub internal_user_database_enabled: Option<bool>,
pub saml_options: Option<SamlOptionsOutput>,
pub anonymous_auth_disable_date: Option<DateTime>,
pub anonymous_auth_enabled: Option<bool>,
}
Expand description
Specifies the advanced security configuration: whether advanced security is enabled, whether the internal database option is enabled.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.enabled: Option<bool>
True if advanced security is enabled.
internal_user_database_enabled: Option<bool>
True if the internal user database is enabled.
saml_options: Option<SamlOptionsOutput>
Describes the SAML application configured for a domain.
anonymous_auth_disable_date: Option<DateTime>
Specifies the Anonymous Auth Disable Date when Anonymous Auth is enabled.
anonymous_auth_enabled: Option<bool>
True if Anonymous auth is enabled. Anonymous auth can be enabled only when AdvancedSecurity is enabled on existing domains.
Implementations§
source§impl AdvancedSecurityOptions
impl AdvancedSecurityOptions
sourcepub fn internal_user_database_enabled(&self) -> Option<bool>
pub fn internal_user_database_enabled(&self) -> Option<bool>
True if the internal user database is enabled.
sourcepub fn saml_options(&self) -> Option<&SamlOptionsOutput>
pub fn saml_options(&self) -> Option<&SamlOptionsOutput>
Describes the SAML application configured for a domain.
sourcepub fn anonymous_auth_disable_date(&self) -> Option<&DateTime>
pub fn anonymous_auth_disable_date(&self) -> Option<&DateTime>
Specifies the Anonymous Auth Disable Date when Anonymous Auth is enabled.
sourcepub fn anonymous_auth_enabled(&self) -> Option<bool>
pub fn anonymous_auth_enabled(&self) -> Option<bool>
True if Anonymous auth is enabled. Anonymous auth can be enabled only when AdvancedSecurity is enabled on existing domains.
source§impl AdvancedSecurityOptions
impl AdvancedSecurityOptions
sourcepub fn builder() -> AdvancedSecurityOptionsBuilder
pub fn builder() -> AdvancedSecurityOptionsBuilder
Creates a new builder-style object to manufacture AdvancedSecurityOptions
.
Trait Implementations§
source§impl Clone for AdvancedSecurityOptions
impl Clone for AdvancedSecurityOptions
source§fn clone(&self) -> AdvancedSecurityOptions
fn clone(&self) -> AdvancedSecurityOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AdvancedSecurityOptions
impl Debug for AdvancedSecurityOptions
source§impl PartialEq for AdvancedSecurityOptions
impl PartialEq for AdvancedSecurityOptions
source§fn eq(&self, other: &AdvancedSecurityOptions) -> bool
fn eq(&self, other: &AdvancedSecurityOptions) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AdvancedSecurityOptions
Auto Trait Implementations§
impl Freeze for AdvancedSecurityOptions
impl RefUnwindSafe for AdvancedSecurityOptions
impl Send for AdvancedSecurityOptions
impl Sync for AdvancedSecurityOptions
impl Unpin for AdvancedSecurityOptions
impl UnwindSafe for AdvancedSecurityOptions
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more