Enum hubcaps::MediaType
[−]
[src]
pub enum MediaType { Json, Preview(&'static str), }
alias for Result that infers hubcaps::Error as Err Github defined Media types See this doc for more for more information
Variants
Json
Return json (the default)
Preview(&'static str)
Return json in preview form
Trait Implementations
impl Clone for MediaType
[src]
fn clone(&self) -> MediaType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more