#[non_exhaustive]pub struct MfaOptionType {
pub delivery_medium: Option<DeliveryMediumType>,
pub attribute_name: Option<String>,
}Expand description
This data type is no longer supported. Applies only to SMS multi-factor authentication (MFA) configurations. Does not apply to time-based one-time password (TOTP) software token MFA configurations.
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.delivery_medium: Option<DeliveryMediumType>The delivery medium to send the MFA code. You can use this parameter to set only the SMS delivery medium value.
attribute_name: Option<String>The attribute name of the MFA option type. The only valid value is phone_number.
Implementations§
source§impl MfaOptionType
impl MfaOptionType
sourcepub fn delivery_medium(&self) -> Option<&DeliveryMediumType>
pub fn delivery_medium(&self) -> Option<&DeliveryMediumType>
The delivery medium to send the MFA code. You can use this parameter to set only the SMS delivery medium value.
sourcepub fn attribute_name(&self) -> Option<&str>
pub fn attribute_name(&self) -> Option<&str>
The attribute name of the MFA option type. The only valid value is phone_number.
source§impl MfaOptionType
impl MfaOptionType
sourcepub fn builder() -> MfaOptionTypeBuilder
pub fn builder() -> MfaOptionTypeBuilder
Creates a new builder-style object to manufacture MfaOptionType.
Trait Implementations§
source§impl Clone for MfaOptionType
impl Clone for MfaOptionType
source§fn clone(&self) -> MfaOptionType
fn clone(&self) -> MfaOptionType
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 MfaOptionType
impl Debug for MfaOptionType
source§impl PartialEq for MfaOptionType
impl PartialEq for MfaOptionType
source§fn eq(&self, other: &MfaOptionType) -> bool
fn eq(&self, other: &MfaOptionType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MfaOptionType
Auto Trait Implementations§
impl RefUnwindSafe for MfaOptionType
impl Send for MfaOptionType
impl Sync for MfaOptionType
impl Unpin for MfaOptionType
impl UnwindSafe for MfaOptionType
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
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>
Creates a shared type from an unshared type.