Struct aws_sdk_ses::model::Destination
source · #[non_exhaustive]pub struct Destination { /* private fields */ }
Expand description
Represents the destination of the message, consisting of To:, CC:, and BCC: fields.
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.
Implementations§
source§impl Destination
impl Destination
sourcepub fn to_addresses(&self) -> Option<&[String]>
pub fn to_addresses(&self) -> Option<&[String]>
The recipients to place on the To: line of the message.
sourcepub fn cc_addresses(&self) -> Option<&[String]>
pub fn cc_addresses(&self) -> Option<&[String]>
The recipients to place on the CC: line of the message.
sourcepub fn bcc_addresses(&self) -> Option<&[String]>
pub fn bcc_addresses(&self) -> Option<&[String]>
The recipients to place on the BCC: line of the message.
source§impl Destination
impl Destination
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
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
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 Destination
impl Debug for Destination
source§impl PartialEq<Destination> for Destination
impl PartialEq<Destination> for Destination
source§fn eq(&self, other: &Destination) -> bool
fn eq(&self, other: &Destination) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.