[−][src]Enum reso_dd::MediaType
Variants
"doc": The media is a doc file type.
"docx": The media is a docx file type.
"gif": The media is a gif file type.
"jpeg": The media is a jpeg file type.
"mov": The media is a mov file type.
"mp4": The media is an mp4 file type.
"mpeg": The media is an mpeg file type.
"pdf": The media is a pdf file type.
"png": The media is a png file type.
"quicktime": The media is a QuickTime file type.
"rtf": The media is a rtf file type.
"tiff": The media is a tiff file type.
"txt": The media is a txt file type.
"wmv": The media is a wmv file type.
"xls": The media is a xls file type.
"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]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
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]
fn from_str(s: &str) -> MediaType
[src]
fn from_string(s: String) -> MediaType
[src]
fn to_str(&self) -> &str
[src]
fn into_string(self) -> String
[src]
fn fallback_value(&self) -> Option<&str>
[src]
impl Serialize for MediaType
[src]
impl StructuralEq for MediaType
[src]
impl StructuralPartialEq for MediaType
[src]
Auto Trait Implementations
impl RefUnwindSafe for MediaType
impl Send for MediaType
impl Sync for MediaType
impl Unpin for MediaType
impl UnwindSafe for MediaType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,