Struct etwin_core::email::EmailContent
source · pub struct EmailContent {
pub title: EmailTitle,
pub body_text: EmailBody,
pub body_html: Option<HtmlFragment>,
}
Fields§
§title: EmailTitle
§body_text: EmailBody
§body_html: Option<HtmlFragment>
Trait Implementations§
source§impl Clone for EmailContent
impl Clone for EmailContent
source§fn clone(&self) -> EmailContent
fn clone(&self) -> EmailContent
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 EmailContent
impl Debug for EmailContent
source§impl Hash for EmailContent
impl Hash for EmailContent
source§impl Ord for EmailContent
impl Ord for EmailContent
source§fn cmp(&self, other: &EmailContent) -> Ordering
fn cmp(&self, other: &EmailContent) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<EmailContent> for EmailContent
impl PartialEq<EmailContent> for EmailContent
source§fn eq(&self, other: &EmailContent) -> bool
fn eq(&self, other: &EmailContent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<EmailContent> for EmailContent
impl PartialOrd<EmailContent> for EmailContent
source§fn partial_cmp(&self, other: &EmailContent) -> Option<Ordering>
fn partial_cmp(&self, other: &EmailContent) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more