pub struct Message<'x> {
pub mail_from: Address<'x>,
pub rcpt_to: Vec<Address<'x>>,
pub body: Cow<'x, [u8]>,
}
Fields§
§mail_from: Address<'x>
§rcpt_to: Vec<Address<'x>>
§body: Cow<'x, [u8]>
Implementations§
Trait Implementations§
Source§impl<'x> IntoMessage<'x> for Message<'x>
impl<'x> IntoMessage<'x> for Message<'x>
Auto Trait Implementations§
impl<'x> Freeze for Message<'x>
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