Enum earth::mimetype::MimeType [] [src]

pub enum MimeType {
    Text,
    Html,
    Xhtml,
    Other(String),
}

Variants

Methods

impl MimeType
[src]

Trait Implementations

impl Clone for MimeType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for MimeType
[src]

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

This method tests for !=.

impl Eq for MimeType
[src]

impl Debug for MimeType
[src]

Formats the value using the given formatter.

impl Display for MimeType
[src]

Formats the value using the given formatter. Read more