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

pub struct OrigDate(pub DateTime);

Trait Implementations

impl Debug for OrigDate
[src]

Formats the value using the given formatter.

impl Clone for OrigDate
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for OrigDate
[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 OrigDate
[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 OrigDate
[src]

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

impl<'a> TryFrom<&'a [u8]> for OrigDate
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl<'a> TryFrom<&'a str> for OrigDate
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl<'a> TryFrom<DateTime> for OrigDate
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl<'a> TryFrom<&'a Tm> for OrigDate
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl<'a, Tz: TimeZone> TryFrom<&'a DateTime<Tz>> for OrigDate where
    Tz::Offset: Display
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl Display for OrigDate
[src]

Formats the value using the given formatter. Read more