[][src]Enum reso_dd::MediaType

pub enum MediaType {
    Doc,
    Docx,
    Gif,
    Jpeg,
    Mov,
    Mp4,
    Mpeg,
    Pdf,
    Png,
    Quicktime,
    Rtf,
    Tiff,
    Txt,
    Wmv,
    Xls,
    Xlsx,
    OpenEnumeration(String),
}

Variants

Doc

"doc": The media is a doc file type.

Docx

"docx": The media is a docx file type.

Gif

"gif": The media is a gif file type.

Jpeg

"jpeg": The media is a jpeg file type.

Mov

"mov": The media is a mov file type.

Mp4

"mp4": The media is an mp4 file type.

Mpeg

"mpeg": The media is an mpeg file type.

Pdf

"pdf": The media is a pdf file type.

Png

"png": The media is a png file type.

Quicktime

"quicktime": The media is a QuickTime file type.

Rtf

"rtf": The media is a rtf file type.

Tiff

"tiff": The media is a tiff file type.

Txt

"txt": The media is a txt file type.

Wmv

"wmv": The media is a wmv file type.

Xls

"xls": The media is a xls file type.

Xlsx

"xlsx": The media is a xlsx file type.

OpenEnumeration(String)

A value that was not defined by the enumeration

Trait Implementations

impl Clone for MediaType[src]

impl Debug for MediaType[src]

impl<'de> Deserialize<'de> for MediaType[src]

impl Eq for MediaType[src]

impl<'_> From<&'_ str> for MediaType[src]

impl<'a> From<&'a MediaType> for &'a str[src]

impl From<String> for MediaType[src]

impl PartialEq<MediaType> for MediaType[src]

impl ResoEnumeration for MediaType[src]

impl Serialize for MediaType[src]

impl StructuralEq for MediaType[src]

impl StructuralPartialEq for MediaType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.