pub struct RenderedEmail {
pub subject: String,
pub html: String,
pub text: String,
}Expand description
A rendered email ready for sending.
Produced by Mailer::render. Contains the
fully substituted subject line, the HTML body (with layout applied), and
the plain-text fallback.
Fields§
§subject: StringThe email subject line, taken from the template frontmatter.
html: StringThe fully rendered HTML body with layout applied.
text: StringPlain-text fallback body derived from the Markdown source.
Auto Trait Implementations§
impl Freeze for RenderedEmail
impl RefUnwindSafe for RenderedEmail
impl Send for RenderedEmail
impl Sync for RenderedEmail
impl Unpin for RenderedEmail
impl UnsafeUnpin for RenderedEmail
impl UnwindSafe for RenderedEmail
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more