Enum jsonrpc_client_http::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
Screenscreen.
Ttytty.
Tvtv.
Projectionprojection.
Handheldhandheld.
Printprint.
Braillebraille.
Auralaural.
Allall.
Extension(String)Unrecognized media descriptor extension.
Trait Implementations
impl PartialEq<MediaDesc> for MediaDesc[src]
impl PartialEq<MediaDesc> for MediaDescfn eq(&self, other: &MediaDesc) -> bool[src]
fn eq(&self, other: &MediaDesc) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &MediaDesc) -> bool[src]
fn ne(&self, other: &MediaDesc) -> boolThis method tests for !=.
impl Clone for MediaDesc[src]
impl Clone for MediaDescfn clone(&self) -> MediaDesc[src]
fn clone(&self) -> MediaDescReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl FromStr for MediaDesc[src]
impl FromStr for MediaDesctype Err = Error
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<MediaDesc, Error>[src]
fn from_str(s: &str) -> Result<MediaDesc, Error>Parses a string s to return a value of this type. Read more
impl Debug for MediaDesc[src]
impl Debug for MediaDescfn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Display for MediaDesc[src]
impl Display for MediaDesc