Struct email_format::rfc5322::types::DomainLiteral [] [src]

pub struct DomainLiteral {
    pub pre_cfws: Option<CFWS>,
    pub dtext: Vec<(bool, DText)>,
    pub trailing_ws: bool,
    pub post_cfws: Option<CFWS>,
}

Fields

Trait Implementations

impl Debug for DomainLiteral
[src]

Formats the value using the given formatter.

impl Clone for DomainLiteral
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

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

impl Display for DomainLiteral
[src]

Formats the value using the given formatter. Read more