Enum elefren::entities::attachment::MediaType [−][src]
pub enum MediaType { Image, Video, Gifv, Unknown, }
The type of media attachment.
Variants
Image
An image.
Video
A video file.
Gifv
A gifv format file.
Unknown
Unknown format.
Trait Implementations
impl Debug for MediaType
[src]
impl Debug for MediaType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for MediaType
[src]
impl Clone for MediaType
fn clone(&self) -> MediaType
[src]
fn clone(&self) -> MediaType
Returns 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 Copy for MediaType
[src]
impl Copy for MediaType