pub struct MailBodyHtml {
pub text: Option<String>,
pub html: String,
pub file: Vec<MailBodyFile>,
}
Expand description
Add html page to the message struct.
§Values
text: Option<String>
- Text part;html: String
- Html part;file: Vec<MailBodyFile>
- List of inline files.
Fields§
§text: Option<String>
Text part
html: String
Html part
file: Vec<MailBodyFile>
List of inline files
Trait Implementations§
Source§impl Clone for MailBodyHtml
impl Clone for MailBodyHtml
Source§fn clone(&self) -> MailBodyHtml
fn clone(&self) -> MailBodyHtml
Returns a duplicate 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 MailBodyHtml
impl Debug for MailBodyHtml
Auto Trait Implementations§
impl Freeze for MailBodyHtml
impl RefUnwindSafe for MailBodyHtml
impl Send for MailBodyHtml
impl Sync for MailBodyHtml
impl Unpin for MailBodyHtml
impl UnwindSafe for MailBodyHtml
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