Struct email_format::rfc5322::headers::OptionalField [] [src]

pub struct OptionalField {
    pub name: FieldName,
    pub value: Unstructured,
}

Fields

Trait Implementations

impl Debug for OptionalField
[src]

Formats the value using the given formatter.

impl Clone for OptionalField
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for OptionalField
[src]

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

This method tests for !=.

impl Parsable for OptionalField
[src]

Parse the object off of the beginning of the input. If found, returns Some object, and a slice containing the remainer of the input. Read more

impl Streamable for OptionalField
[src]

Serializes and sends the content out to w, returning the number of bytes written.

impl<'a> TryFrom<(FieldName, Unstructured)> for OptionalField
[src]

The type returned in the event of a conversion error.

Performs the conversion.