pub struct MimePart {
pub headers: Vec<(String, String)>,
pub body: Vec<u8>,
}Fields§
§headers: Vec<(String, String)>§body: Vec<u8>Implementations§
Source§impl MimePart
impl MimePart
pub fn content_type(&self) -> Option<&str>
pub fn content_id(&self) -> Option<&str>
pub fn content_disposition(&self) -> Option<&str>
Trait Implementations§
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