[][src]Trait email::FromHeader

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

Loading content...

Implementations on Foreign Types

impl FromHeader for Vec<Address>[src]

impl FromHeader for String[src]

impl FromHeader for DateTime<FixedOffset>[src]

impl FromHeader for DateTime<Utc>[src]

Loading content...

Implementors

Loading content...