Struct async_mailer::Message
pub struct Message<'x> {
pub mail_from: Address<'x>,
pub rcpt_to: Vec<Address<'x>, Global>,
pub body: Cow<'x, [u8]>,
}Fields§
§mail_from: Address<'x>§rcpt_to: Vec<Address<'x>, Global>§body: Cow<'x, [u8]>Implementations§
Trait Implementations§
§impl<'x> IntoMessage<'x> for Message<'x>
impl<'x> IntoMessage<'x> for Message<'x>
fn into_message(self) -> Result<Message<'x>, Error>
Auto Trait Implementations§
impl<'x> RefUnwindSafe for Message<'x>
impl<'x> Send for Message<'x>
impl<'x> Sync for Message<'x>
impl<'x> Unpin for Message<'x>
impl<'x> UnwindSafe for Message<'x>
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