Trait email::FromHeader
[−]
[src]
pub trait FromHeader: Sized { fn from_header(value: String) -> ParsingResult<Self>; }
Trait for converting from RFC822 Header values into Rust types.
Required Methods
fn from_header(value: String) -> ParsingResult<Self>
Parse the value
of the header.
Returns None if the value failed to be parsed
Implementors
impl FromHeader for MimeContentTypeHeader
impl FromHeader for MimeContentTransferEncoding
impl FromHeader for String
impl FromHeader for DateTime<FixedOffset>
impl FromHeader for DateTime<UTC>
impl FromHeader for Vec<Address>