pub struct TenantMultiFactorConfiguration {
pub authenticator: Option<Box<MultiFactorAuthenticatorMethod>>,
pub email: Option<Box<MultiFactorEmailMethod>>,
pub login_policy: Option<MultiFactorLoginPolicy>,
pub sms: Option<Box<MultiFactorSmsMethod>>,
}
Expand description
TenantMultiFactorConfiguration :
Fields§
§authenticator: Option<Box<MultiFactorAuthenticatorMethod>>
§email: Option<Box<MultiFactorEmailMethod>>
§login_policy: Option<MultiFactorLoginPolicy>
§sms: Option<Box<MultiFactorSmsMethod>>
Implementations§
Trait Implementations§
Source§impl Clone for TenantMultiFactorConfiguration
impl Clone for TenantMultiFactorConfiguration
Source§fn clone(&self) -> TenantMultiFactorConfiguration
fn clone(&self) -> TenantMultiFactorConfiguration
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 TenantMultiFactorConfiguration
impl Default for TenantMultiFactorConfiguration
Source§fn default() -> TenantMultiFactorConfiguration
fn default() -> TenantMultiFactorConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TenantMultiFactorConfiguration
impl<'de> Deserialize<'de> for TenantMultiFactorConfiguration
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 PartialEq for TenantMultiFactorConfiguration
impl PartialEq for TenantMultiFactorConfiguration
Source§fn eq(&self, other: &TenantMultiFactorConfiguration) -> bool
fn eq(&self, other: &TenantMultiFactorConfiguration) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for TenantMultiFactorConfiguration
Auto Trait Implementations§
impl Freeze for TenantMultiFactorConfiguration
impl RefUnwindSafe for TenantMultiFactorConfiguration
impl Send for TenantMultiFactorConfiguration
impl Sync for TenantMultiFactorConfiguration
impl Unpin for TenantMultiFactorConfiguration
impl UnwindSafe for TenantMultiFactorConfiguration
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