pub enum MimePart {
Leaf {
content_type: String,
content_transfer_encoding: Option<String>,
content_disposition: Option<String>,
body: Vec<u8>,
},
Multipart {
content_type: String,
boundary: Option<String>,
parts: Vec<MimePart>,
},
}Variants§
Trait Implementations§
impl Eq for MimePart
impl StructuralPartialEq for MimePart
Auto Trait Implementations§
impl Freeze for MimePart
impl RefUnwindSafe for MimePart
impl Send for MimePart
impl Sync for MimePart
impl Unpin for MimePart
impl UnsafeUnpin for MimePart
impl UnwindSafe for MimePart
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