Trait mail_parser::MimeFieldGet [−][src]
pub trait MimeFieldGet<'x> {
fn get_content_description(&self) -> Option<&Cow<'x, str>>;
fn get_content_disposition(&self) -> Option<&ContentType<'x>>;
fn get_content_id(&self) -> Option<&Cow<'x, str>>;
fn get_content_transfer_encoding(&self) -> Option<&Cow<'x, str>>;
fn get_content_type(&self) -> Option<&ContentType<'x>>;
}
Expand description
MIME header fields.
Required methods
fn get_content_description(&self) -> Option<&Cow<'x, str>>
fn get_content_description(&self) -> Option<&Cow<'x, str>>
Content-Description MIME header
fn get_content_disposition(&self) -> Option<&ContentType<'x>>
fn get_content_disposition(&self) -> Option<&ContentType<'x>>
Content-Disposition MIME header
fn get_content_id(&self) -> Option<&Cow<'x, str>>
fn get_content_id(&self) -> Option<&Cow<'x, str>>
Content-ID MIME header
fn get_content_transfer_encoding(&self) -> Option<&Cow<'x, str>>
fn get_content_transfer_encoding(&self) -> Option<&Cow<'x, str>>
Content-Transfer-Encoding MIME header
fn get_content_type(&self) -> Option<&ContentType<'x>>
fn get_content_type(&self) -> Option<&ContentType<'x>>
Content-Type MIME header