Struct aws_sdk_ses::types::builders::BodyBuilder
source · #[non_exhaustive]pub struct BodyBuilder { /* private fields */ }Expand description
A builder for Body.
Implementations§
source§impl BodyBuilder
impl BodyBuilder
sourcepub fn text(self, input: Content) -> Self
pub fn text(self, input: Content) -> Self
The content of the message, in text format. Use this for text-based email clients, or clients on high-latency networks (such as mobile devices).
sourcepub fn set_text(self, input: Option<Content>) -> Self
pub fn set_text(self, input: Option<Content>) -> Self
The content of the message, in text format. Use this for text-based email clients, or clients on high-latency networks (such as mobile devices).
sourcepub fn get_text(&self) -> &Option<Content>
pub fn get_text(&self) -> &Option<Content>
The content of the message, in text format. Use this for text-based email clients, or clients on high-latency networks (such as mobile devices).
sourcepub fn html(self, input: Content) -> Self
pub fn html(self, input: Content) -> Self
The content of the message, in HTML format. Use this for email clients that can process HTML. You can include clickable links, formatted text, and much more in an HTML message.
sourcepub fn set_html(self, input: Option<Content>) -> Self
pub fn set_html(self, input: Option<Content>) -> Self
The content of the message, in HTML format. Use this for email clients that can process HTML. You can include clickable links, formatted text, and much more in an HTML message.
Trait Implementations§
source§impl Clone for BodyBuilder
impl Clone for BodyBuilder
source§fn clone(&self) -> BodyBuilder
fn clone(&self) -> BodyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BodyBuilder
impl Debug for BodyBuilder
source§impl Default for BodyBuilder
impl Default for BodyBuilder
source§fn default() -> BodyBuilder
fn default() -> BodyBuilder
source§impl PartialEq for BodyBuilder
impl PartialEq for BodyBuilder
source§fn eq(&self, other: &BodyBuilder) -> bool
fn eq(&self, other: &BodyBuilder) -> bool
self and other values to be equal, and is used
by ==.