Struct rusoto_pinpoint_email::SendEmailRequest
source · [−]pub struct SendEmailRequest {
pub configuration_set_name: Option<String>,
pub content: EmailContent,
pub destination: Destination,
pub email_tags: Option<Vec<MessageTag>>,
pub feedback_forwarding_email_address: Option<String>,
pub from_email_address: Option<String>,
pub reply_to_addresses: Option<Vec<String>>,
}
Expand description
A request to send an email message.
Fields
configuration_set_name: Option<String>
The name of the configuration set that you want to use when sending the email.
content: EmailContent
An object that contains the body of the message. You can send either a Simple message or a Raw message.
destination: Destination
An object that contains the recipients of the email message.
A list of tags, in the form of name/value pairs, to apply to an email that you send using the SendEmail
operation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.
feedback_forwarding_email_address: Option<String>
The address that Amazon Pinpoint should send bounce and complaint notifications to.
from_email_address: Option<String>
The email address that you want to use as the "From" address for the email. The address that you specify has to be verified.
reply_to_addresses: Option<Vec<String>>
The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to address receives the reply.
Trait Implementations
sourceimpl Clone for SendEmailRequest
impl Clone for SendEmailRequest
sourcefn clone(&self) -> SendEmailRequest
fn clone(&self) -> SendEmailRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SendEmailRequest
impl Debug for SendEmailRequest
sourceimpl Default for SendEmailRequest
impl Default for SendEmailRequest
sourcefn default() -> SendEmailRequest
fn default() -> SendEmailRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<SendEmailRequest> for SendEmailRequest
impl PartialEq<SendEmailRequest> for SendEmailRequest
sourcefn eq(&self, other: &SendEmailRequest) -> bool
fn eq(&self, other: &SendEmailRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SendEmailRequest) -> bool
fn ne(&self, other: &SendEmailRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for SendEmailRequest
impl Serialize for SendEmailRequest
impl StructuralPartialEq for SendEmailRequest
Auto Trait Implementations
impl RefUnwindSafe for SendEmailRequest
impl Send for SendEmailRequest
impl Sync for SendEmailRequest
impl Unpin for SendEmailRequest
impl UnwindSafe for SendEmailRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more