Struct email::HeaderMap 
            
                [−]
            
        [src]
pub struct HeaderMap {
    // some fields omitted
}A collection of Headers [unstable]
Methods
impl HeaderMap
fn new() -> HeaderMap
[unstable]
fn insert(&mut self, header: Header)
Adds a header to the collection [unstable]
fn iter(&self) -> HeaderIter
Get an Iterator over the collection of headers. [unstable]
fn get(&self, name: String) -> Option<&Header>
Get the last value of the header with name
[unstable]
fn get_value<T: FromHeader>(&self, name: String) -> ParsingResult<T>
Get the last value of the header with name, as a decoded type.
[unstable]
fn len(&self) -> usize
[unstable] Get the number of headers within this map.
fn find(&self, name: &String) -> Option<Vec<&Header>>
[unstable]
Find a list of headers of name, None if there
are no headers with that name.