[−][src]Trait libimagmail::mail::Mail
Required methods
fn is_mail(&self) -> Result<bool>
fn get_field(
&self,
refconfig: &RefConfig,
field: &str
) -> Result<Option<String>>
&self,
refconfig: &RefConfig,
field: &str
) -> Result<Option<String>>
fn get_from(&self, refconfig: &RefConfig) -> Result<Option<String>>
fn get_to(&self, refconfig: &RefConfig) -> Result<Option<String>>
fn get_subject(&self, refconfig: &RefConfig) -> Result<Option<String>>
fn get_message_id(&self, refconfig: &RefConfig) -> Result<Option<String>>
fn get_in_reply_to(&self, refconfig: &RefConfig) -> Result<Option<String>>
Implementations on Foreign Types
impl Mail for Entry
[src]
fn is_mail(&self) -> Result<bool>
[src]
fn get_field(
&self,
refconfig: &RefConfig,
field: &str
) -> Result<Option<String>>
[src]
&self,
refconfig: &RefConfig,
field: &str
) -> Result<Option<String>>
Get a value of a single field of the mail file
fn get_from(&self, refconfig: &RefConfig) -> Result<Option<String>>
[src]
Get a value of the From
field of the mail file
Note
Use Mail::mail_header()
if you need to read more than one field.
fn get_to(&self, refconfig: &RefConfig) -> Result<Option<String>>
[src]
Get a value of the To
field of the mail file
Note
Use Mail::mail_header()
if you need to read more than one field.
fn get_subject(&self, refconfig: &RefConfig) -> Result<Option<String>>
[src]
Get a value of the Subject
field of the mail file
Note
Use Mail::mail_header()
if you need to read more than one field.
fn get_message_id(&self, refconfig: &RefConfig) -> Result<Option<String>>
[src]
Get a value of the Message-ID
field of the mail file
Note
Use Mail::mail_header()
if you need to read more than one field.
fn get_in_reply_to(&self, refconfig: &RefConfig) -> Result<Option<String>>
[src]
Get a value of the In-Reply-To
field of the mail file
Note
Use Mail::mail_header()
if you need to read more than one field.