Enum reqwest::header::MediaDesc [] [src]

pub enum MediaDesc {
    Screen,
    Tty,
    Tv,
    Projection,
    Handheld,
    Print,
    Braille,
    Aural,
    All,
    Extension(String),
}

A Media Descriptors Enum based on: https://www.w3.org/TR/html401/types.html#h-6.13

Variants

screen.

tty.

tv.

projection.

handheld.

print.

braille.

aural.

all.

Unrecognized media descriptor extension.

Trait Implementations

impl FromStr for MediaDesc
[src]

The associated error which can be returned from parsing.

[src]

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

impl Display for MediaDesc
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq<MediaDesc> for MediaDesc
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for MediaDesc
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for MediaDesc
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more