pub enum MimeType {
Show 95 variants
Epub,
Gz,
Jar,
AppJs,
Json,
JsonPatch,
Jsonld,
Webmanifest,
Doc,
Bin,
Ogx,
Pdf,
Ps,
Eps,
Ai,
Rtf,
Azw,
JsonApi,
Mpkg,
Xul,
Xls,
Eot,
Ppt,
Odp,
Ods,
Odt,
Pptx,
Xlsx,
Docx,
Rar,
Vsd,
_7z,
Abw,
Bz,
Bz2,
Cda,
Csh,
Arc,
Php,
Mdb,
Sh,
Swf,
Tar,
Xhtml,
AppXml,
Wasm,
Zip,
Audio3gp,
Audio3g2,
Aac,
Mid,
Midi,
Mp3,
Oga,
Opus,
Wav,
Weba,
Otf,
Ttf,
Woff,
Woff2,
Avif,
Bmp,
Gif,
Jpg,
Jpeg,
Png,
Svg,
Svgz,
Tiff,
Tif,
Ico,
Webp,
Ics,
Css,
Csv,
Html,
Htm,
TextJs,
Mjs,
Txt,
Text,
TextXml,
Video3gp,
Video3g2,
Mov,
Ts,
Mp4,
Mpeg,
Mpg,
Ogv,
Webm,
Avi,
Wmv,
Unknown,
}
Variants§
Epub
Gz
Jar
AppJs
Json
JsonPatch
Jsonld
Webmanifest
Doc
Bin
Ogx
Ps
Eps
Ai
Rtf
Azw
JsonApi
Mpkg
Xul
Xls
Eot
Ppt
Odp
Ods
Odt
Pptx
Xlsx
Docx
Rar
Vsd
_7z
Abw
Bz
Bz2
Cda
Csh
Arc
Php
Mdb
Sh
Swf
Tar
Xhtml
AppXml
Wasm
Zip
Audio3gp
Audio3g2
Aac
Mid
Midi
Mp3
Oga
Opus
Wav
Weba
Otf
Ttf
Woff
Woff2
Avif
Bmp
Gif
Jpg
Jpeg
Png
Svg
Svgz
Tiff
Tif
Ico
Webp
Ics
Css
Csv
Html
Htm
TextJs
Mjs
Txt
Text
TextXml
Video3gp
Video3g2
Mov
Ts
Mp4
Mpeg
Mpg
Ogv
Webm
Avi
Wmv
Unknown
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MimeType
impl<'de> Deserialize<'de> for MimeType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for MimeType
impl Eq for MimeType
impl StructuralPartialEq for MimeType
Auto Trait Implementations§
impl Freeze for MimeType
impl RefUnwindSafe for MimeType
impl Send for MimeType
impl Sync for MimeType
impl Unpin for MimeType
impl UnwindSafe for MimeType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.