Struct aws_sdk_sesv2::types::builders::MessageBuilder
source · #[non_exhaustive]pub struct MessageBuilder { /* private fields */ }Expand description
A builder for Message.
Implementations§
source§impl MessageBuilder
impl MessageBuilder
sourcepub fn subject(self, input: Content) -> Self
pub fn subject(self, input: Content) -> Self
The subject line of the email. The subject line can only contain 7-bit ASCII characters. However, you can specify non-ASCII characters in the subject line by using encoded-word syntax, as described in RFC 2047.
This field is required.sourcepub fn set_subject(self, input: Option<Content>) -> Self
pub fn set_subject(self, input: Option<Content>) -> Self
The subject line of the email. The subject line can only contain 7-bit ASCII characters. However, you can specify non-ASCII characters in the subject line by using encoded-word syntax, as described in RFC 2047.
sourcepub fn get_subject(&self) -> &Option<Content>
pub fn get_subject(&self) -> &Option<Content>
The subject line of the email. The subject line can only contain 7-bit ASCII characters. However, you can specify non-ASCII characters in the subject line by using encoded-word syntax, as described in RFC 2047.
sourcepub fn body(self, input: Body) -> Self
pub fn body(self, input: Body) -> Self
The body of the message. You can specify an HTML version of the message, a text-only version of the message, or both.
This field is required.sourcepub fn set_body(self, input: Option<Body>) -> Self
pub fn set_body(self, input: Option<Body>) -> Self
The body of the message. You can specify an HTML version of the message, a text-only version of the message, or both.
Trait Implementations§
source§impl Clone for MessageBuilder
impl Clone for MessageBuilder
source§fn clone(&self) -> MessageBuilder
fn clone(&self) -> MessageBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MessageBuilder
impl Debug for MessageBuilder
source§impl Default for MessageBuilder
impl Default for MessageBuilder
source§fn default() -> MessageBuilder
fn default() -> MessageBuilder
source§impl PartialEq for MessageBuilder
impl PartialEq for MessageBuilder
source§fn eq(&self, other: &MessageBuilder) -> bool
fn eq(&self, other: &MessageBuilder) -> bool
self and other values to be equal, and is used
by ==.