Struct mail_parser::MultiPart
source · [−]pub struct MultiPart<'x> {
pub headers_rfc: RfcHeaders<'x>,
pub headers_raw: RawHeaders<'x>,
}
Expand description
Multipart part
Fields
headers_rfc: RfcHeaders<'x>
headers_raw: RawHeaders<'x>
Implementations
sourceimpl<'x> MultiPart<'x>
impl<'x> MultiPart<'x>
pub fn new(headers_rfc: RfcHeaders<'x>, headers_raw: RawHeaders<'x>) -> Self
Trait Implementations
sourceimpl<'de, 'x> Deserialize<'de> for MultiPart<'x>
impl<'de, 'x> Deserialize<'de> for MultiPart<'x>
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<'x> StructuralPartialEq for MultiPart<'x>
Auto Trait Implementations
impl<'x> RefUnwindSafe for MultiPart<'x>
impl<'x> Send for MultiPart<'x>
impl<'x> Sync for MultiPart<'x>
impl<'x> Unpin for MultiPart<'x>
impl<'x> UnwindSafe for MultiPart<'x>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more