pub struct MailMessage<'a> {
pub sender_user: &'a str,
pub sender_host: &'a str,
pub domain: &'a str,
pub to_li: Vec<Address<'a>>,
pub body: &'a [u8],
}Available on crate feature
send only.Fields§
§sender_user: &'a str§sender_host: &'a str§domain: &'a str§to_li: Vec<Address<'a>>§body: &'a [u8]Trait Implementations§
Source§impl<'a> IntoIterator for MailMessage<'a>
impl<'a> IntoIterator for MailMessage<'a>
Source§impl<'a> IntoMessage<'a> for &MailMessage<'a>
impl<'a> IntoMessage<'a> for &MailMessage<'a>
fn into_message(self) -> Result<Message<'a>>
Source§impl<'a> IntoMessage<'a> for MailMessage<'a>
impl<'a> IntoMessage<'a> for MailMessage<'a>
fn into_message(self) -> Result<Message<'a>>
Auto Trait Implementations§
impl<'a> Freeze for MailMessage<'a>
impl<'a> RefUnwindSafe for MailMessage<'a>
impl<'a> Send for MailMessage<'a>
impl<'a> Sync for MailMessage<'a>
impl<'a> Unpin for MailMessage<'a>
impl<'a> UnwindSafe for MailMessage<'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