Struct mailparsing::HeaderParseResult
source · pub struct HeaderParseResult<'a> {
pub headers: HeaderMap<'a>,
pub body_offset: usize,
pub overall_conformance: MessageConformance,
}
Expand description
Holds the result of parsing a block of headers
Fields§
§headers: HeaderMap<'a>
§body_offset: usize
§overall_conformance: MessageConformance
Auto Trait Implementations§
impl<'a> Freeze for HeaderParseResult<'a>
impl<'a> RefUnwindSafe for HeaderParseResult<'a>
impl<'a> Send for HeaderParseResult<'a>
impl<'a> Sync for HeaderParseResult<'a>
impl<'a> Unpin for HeaderParseResult<'a>
impl<'a> UnwindSafe for HeaderParseResult<'a>
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