pub struct MimeType {
pub type_: String,
pub subtype: String,
pub suffix: Option<String>,
}Expand description
A lightweight MIME type split into type, subtype, and optional suffix.
Fields§
§type_: String§subtype: String§suffix: Option<String>Trait Implementations§
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 UnsafeUnpin 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