pub enum BodyPart<'x> {
Text(Cow<'x, str>),
Binary(Cow<'x, [u8]>),
Multipart(Vec<MimePart<'x>>),
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'x> Freeze for BodyPart<'x>
impl<'x> RefUnwindSafe for BodyPart<'x>
impl<'x> Send for BodyPart<'x>
impl<'x> Sync for BodyPart<'x>
impl<'x> Unpin for BodyPart<'x>
impl<'x> UnwindSafe for BodyPart<'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