Trait deltachat::headerdef::HeaderDefMap
source · pub trait HeaderDefMap {
// Required methods
fn get_header_value(&self, headerdef: HeaderDef) -> Option<String>;
fn get_header(&self, headerdef: HeaderDef) -> Option<&MailHeader<'_>>;
}
Required Methods§
sourcefn get_header_value(&self, headerdef: HeaderDef) -> Option<String>
fn get_header_value(&self, headerdef: HeaderDef) -> Option<String>
Returns requested header value if it exists.
sourcefn get_header(&self, headerdef: HeaderDef) -> Option<&MailHeader<'_>>
fn get_header(&self, headerdef: HeaderDef) -> Option<&MailHeader<'_>>
Returns requested header if it exists.