Enum mime::Attr [] [src]

pub enum Attr {
    Charset,
    Q,
    Ext(String),
}

Variants

CharsetQExt(String)

Trait Implementations

impl Debug for Attr
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Attr
[src]

fn clone(&self) -> Attr

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl PartialEq for Attr
[src]

fn eq(&self, other: &Attr) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Display for Attr
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result

Formats the value using the given formatter.

impl FromStr for Attr
[src]

type Err = ()

The associated error which can be returned from parsing.

fn from_str(s: &str) -> Result<Attr()>

Parses a string s to return a value of this type. Read more