Struct email::Header [] [src]

pub struct Header {
    pub name: String,
    // some fields omitted
}

Represents an RFC 822 Header [unstable]

Fields

The name of this header

Methods

impl Header
[src]

[src]

Creates a new Header for the given name and value [unstable]

[src]

Creates a new Header for the given name and value, as converted through the ToHeader or ToFoldedHeader trait.

Returns None if the value failed to be converted. [unstable]

[src]

Get the value represented by this header, as parsed into whichever type T [unstable]

Trait Implementations

impl PartialEq for Header
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Header
[src]

impl Clone for Header
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Header
[src]

[src]

Formats the value using the given formatter.

impl Hash for Header
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Display for Header
[src]

[src]

Formats the value using the given formatter. Read more