Struct mail_parser::mailbox::mbox::Message
source · pub struct Message { /* private fields */ }Expand description
Mbox 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 UTC 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 PartialOrd<Message> for Message
impl PartialOrd<Message> 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 more