Enum hubcaps::MediaType[][src]

pub enum MediaType {
    Json,
    Preview(&'static str),
}

Github defined Media types See this doc for more for more information

Variants

Return json (the default)

Return json in preview form

Trait Implementations

impl Clone for MediaType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for MediaType
[src]

impl Default for MediaType
[src]

Returns the "default value" for a type. Read more

impl From<MediaType> for Mime
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for MediaType

impl Sync for MediaType