Struct aws_sdk_sesv2::types::Destination
source · #[non_exhaustive]pub struct Destination {
pub to_addresses: Option<Vec<String>>,
pub cc_addresses: Option<Vec<String>>,
pub bcc_addresses: Option<Vec<String>>,
}Expand description
An object that describes the recipients for an email.
Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531. For this reason, the local part of a destination email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492.
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.to_addresses: Option<Vec<String>>An array that contains the email addresses of the "To" recipients for the email.
cc_addresses: Option<Vec<String>>An array that contains the email addresses of the "CC" (carbon copy) recipients for the email.
bcc_addresses: Option<Vec<String>>An array that contains the email addresses of the "BCC" (blind carbon copy) recipients for the email.
Implementations§
source§impl Destination
impl Destination
sourcepub fn to_addresses(&self) -> &[String]
pub fn to_addresses(&self) -> &[String]
An array that contains the email addresses of the "To" recipients for the email.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .to_addresses.is_none().
sourcepub fn cc_addresses(&self) -> &[String]
pub fn cc_addresses(&self) -> &[String]
An array that contains the email addresses of the "CC" (carbon copy) recipients for the email.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .cc_addresses.is_none().
sourcepub fn bcc_addresses(&self) -> &[String]
pub fn bcc_addresses(&self) -> &[String]
An array that contains the email addresses of the "BCC" (blind carbon copy) recipients for the email.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .bcc_addresses.is_none().
source§impl Destination
impl Destination
sourcepub fn builder() -> DestinationBuilder
pub fn builder() -> DestinationBuilder
Creates a new builder-style object to manufacture Destination.
Trait Implementations§
source§impl Clone for Destination
impl Clone for Destination
source§fn clone(&self) -> Destination
fn clone(&self) -> Destination
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for Destination
impl Debug for Destination
source§impl PartialEq for Destination
impl PartialEq for Destination
source§fn eq(&self, other: &Destination) -> bool
fn eq(&self, other: &Destination) -> bool
self and other values to be equal, and is used
by ==.