[][src]Struct lettre_email::Header

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]

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

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]

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

Trait Implementations

impl Clone for Header
[src]

Performs copy-assignment from source. Read more

impl Display for Header
[src]

impl<S, T> From<(S, T)> for Header where
    S: Into<String>,
    T: Into<String>, 
[src]

impl Hash for Header
[src]

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

impl Eq for Header
[src]

impl Debug for Header
[src]

impl PartialEq<Header> for Header
[src]

Auto Trait Implementations

impl Send for Header

impl Sync for Header

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]