Struct aws_sdk_sesv2::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
An object that represents the version of the message that is displayed in email clients that don't support HTML, or clients where the recipient has disabled HTML rendering.
sourcepub fn set_text(self, input: Option<Content>) -> Self
pub fn set_text(self, input: Option<Content>) -> Self
An object that represents the version of the message that is displayed in email clients that don't support HTML, or clients where the recipient has disabled HTML rendering.
sourcepub fn get_text(&self) -> &Option<Content>
pub fn get_text(&self) -> &Option<Content>
An object that represents the version of the message that is displayed in email clients that don't support HTML, or clients where the recipient has disabled HTML rendering.
sourcepub fn html(self, input: Content) -> Self
pub fn html(self, input: Content) -> Self
An object that represents the version of the message that is displayed in email clients that support HTML. HTML messages can include formatted text, hyperlinks, images, and more.
sourcepub fn set_html(self, input: Option<Content>) -> Self
pub fn set_html(self, input: Option<Content>) -> Self
An object that represents the version of the message that is displayed in email clients that support HTML. HTML messages can include formatted text, hyperlinks, images, and more.
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 ==.