Enum hubcaps::MediaType [] [src]

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

alias for Result that infers hubcaps::Error as Err Github defined Media types See this doc for more for more information


Return json (the default)

Return json in preview form

Trait Implementations

impl Clone for MediaType


Returns a copy of the value. Read more


Performs copy-assignment from source. Read more

impl Copy for MediaType

impl Default for MediaType


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