Struct email::mimeheaders::MimeContentTypeHeader [] [src]

pub struct MimeContentTypeHeader {
    pub content_type: MimeContentType,
    pub params: HashMap<String, String>,
}

Special header type for the Content-Type header.

Fields

content_type

The content type presented by this header

params

Parameters of this header

Trait Implementations

impl FromHeader for MimeContentTypeHeader

fn from_header(value: String) -> ParsingResult<MimeContentTypeHeader>

impl ToHeader for MimeContentTypeHeader

fn to_header(value: MimeContentTypeHeader) -> ParsingResult<String>