pub enum PMimeType {
Show 29 variants
TextPlain,
TextHtml,
TextCss,
TextJavascript,
TextMarkdown,
TextCsv,
TextXml,
TextCalendar,
ImageJpeg,
ImagePng,
ImageSvgXml,
ImageWebp,
ImageGif,
ImageBmp,
ModelObj,
ModelMtl,
FontCollection,
FontOtf,
FontSfnt,
FontTtf,
FontWoff,
FontWoff2,
VideoH264,
VideoOgg,
VideoMp4,
AudioOgg,
AudioMp4,
AudioAac,
AudioAc3,
}Expand description
Mime type of Http response
Variants§
TextPlain
TextHtml
TextCss
TextJavascript
TextMarkdown
TextCsv
TextXml
TextCalendar
ImageJpeg
ImagePng
ImageSvgXml
ImageWebp
ImageGif
ImageBmp
ModelObj
ModelMtl
FontCollection
FontOtf
FontSfnt
FontTtf
FontWoff
FontWoff2
VideoH264
VideoOgg
VideoMp4
AudioOgg
AudioMp4
AudioAac
AudioAc3
Trait Implementations§
impl Copy for PMimeType
impl StructuralPartialEq for PMimeType
Auto Trait Implementations§
impl Freeze for PMimeType
impl RefUnwindSafe for PMimeType
impl Send for PMimeType
impl Sync for PMimeType
impl Unpin for PMimeType
impl UnsafeUnpin for PMimeType
impl UnwindSafe for PMimeType
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