#[non_exhaustive]pub struct CodeDeliveryDetailsType {
pub destination: Option<String>,
pub delivery_medium: Option<DeliveryMediumType>,
pub attribute_name: Option<String>,
}Expand description
The delivery details for an email or SMS message that Amazon Cognito sent for authentication or verification.
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.destination: Option<String>The email address or phone number destination where Amazon Cognito sent the code.
delivery_medium: Option<DeliveryMediumType>The method that Amazon Cognito used to send the code.
attribute_name: Option<String>The name of the attribute that Amazon Cognito verifies with the code.
Implementations§
source§impl CodeDeliveryDetailsType
impl CodeDeliveryDetailsType
sourcepub fn destination(&self) -> Option<&str>
pub fn destination(&self) -> Option<&str>
The email address or phone number destination where Amazon Cognito sent the code.
sourcepub fn delivery_medium(&self) -> Option<&DeliveryMediumType>
pub fn delivery_medium(&self) -> Option<&DeliveryMediumType>
The method that Amazon Cognito used to send the code.
sourcepub fn attribute_name(&self) -> Option<&str>
pub fn attribute_name(&self) -> Option<&str>
The name of the attribute that Amazon Cognito verifies with the code.
source§impl CodeDeliveryDetailsType
impl CodeDeliveryDetailsType
sourcepub fn builder() -> CodeDeliveryDetailsTypeBuilder
pub fn builder() -> CodeDeliveryDetailsTypeBuilder
Creates a new builder-style object to manufacture CodeDeliveryDetailsType.
Trait Implementations§
source§impl Clone for CodeDeliveryDetailsType
impl Clone for CodeDeliveryDetailsType
source§fn clone(&self) -> CodeDeliveryDetailsType
fn clone(&self) -> CodeDeliveryDetailsType
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 CodeDeliveryDetailsType
impl Debug for CodeDeliveryDetailsType
source§impl PartialEq for CodeDeliveryDetailsType
impl PartialEq for CodeDeliveryDetailsType
source§fn eq(&self, other: &CodeDeliveryDetailsType) -> bool
fn eq(&self, other: &CodeDeliveryDetailsType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CodeDeliveryDetailsType
Auto Trait Implementations§
impl RefUnwindSafe for CodeDeliveryDetailsType
impl Send for CodeDeliveryDetailsType
impl Sync for CodeDeliveryDetailsType
impl Unpin for CodeDeliveryDetailsType
impl UnwindSafe for CodeDeliveryDetailsType
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.