Struct mail_parser::mailbox::maildir::Message
source · pub struct Message { /* private fields */ }
Expand description
Maildir message contents and metadata
Implementations§
source§impl Message
impl Message
sourcepub fn internal_date(&self) -> u64
pub fn internal_date(&self) -> u64
Returns the message creation date in seconds since UNIX epoch
sourcepub fn unwrap_contents(self) -> Vec<u8>
pub fn unwrap_contents(self) -> Vec<u8>
Unwraps the message contents
Trait Implementations§
source§impl Ord for Message
impl Ord for Message
source§impl PartialEq for Message
impl PartialEq for Message
source§impl PartialOrd for Message
impl PartialOrd for Message
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Message
impl StructuralEq for Message
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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