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 PartialOrd for Message
impl PartialOrd for Message
impl Eq for Message
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Freeze for Message
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