pub struct MailText<'a> {
pub from: &'a str,
pub to: Vec<&'a str>,
pub subject: &'a str,
pub text: &'a str,
pub attachments: Option<Vec<Attachment<'a>>>,
}Fields§
§from: &'a str§to: Vec<&'a str>§subject: &'a str§text: &'a str§attachments: Option<Vec<Attachment<'a>>>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for MailText<'a>
impl<'a> RefUnwindSafe for MailText<'a>
impl<'a> Send for MailText<'a>
impl<'a> Sync for MailText<'a>
impl<'a> Unpin for MailText<'a>
impl<'a> UnwindSafe for MailText<'a>
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