Struct aws_sdk_amplifybackend::types::Settings
source · #[non_exhaustive]pub struct Settings {
pub mfa_types: Option<Vec<MfaTypesElement>>,
pub sms_message: Option<String>,
}
Expand description
The settings of your MFA configuration for the backend of your Amplify project.
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.mfa_types: Option<Vec<MfaTypesElement>>
The supported MFA types.
sms_message: Option<String>
The body of the SMS message.
Implementations§
source§impl Settings
impl Settings
sourcepub fn mfa_types(&self) -> &[MfaTypesElement]
pub fn mfa_types(&self) -> &[MfaTypesElement]
The supported MFA types.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .mfa_types.is_none()
.
sourcepub fn sms_message(&self) -> Option<&str>
pub fn sms_message(&self) -> Option<&str>
The body of the SMS message.
Trait Implementations§
source§impl PartialEq for Settings
impl PartialEq for Settings
impl StructuralPartialEq for Settings
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.