[][src]Struct maildir::MailEntry

pub struct MailEntry { /* fields omitted */ }

This struct represents a single email message inside the maildir. Creation of the struct does not automatically load the content of the email file into memory - however, that may happen upon calling functions that require parsing the email.

Implementations

impl MailEntry[src]

pub fn id(&self) -> &str[src]

pub fn parsed(&mut self) -> Result<ParsedMail<'_>, MailEntryError>[src]

pub fn headers(&mut self) -> Result<Vec<MailHeader<'_>>, MailEntryError>[src]

pub fn received(&mut self) -> Result<i64, MailEntryError>[src]

pub fn date(&mut self) -> Result<i64, MailEntryError>[src]

pub fn flags(&self) -> &str[src]

pub fn is_draft(&self) -> bool[src]

pub fn is_flagged(&self) -> bool[src]

pub fn is_passed(&self) -> bool[src]

pub fn is_replied(&self) -> bool[src]

pub fn is_seen(&self) -> bool[src]

pub fn is_trashed(&self) -> bool[src]

pub fn path(&self) -> &PathBuf[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.