pub enum MimeTypeElement {
Comment(CommentElement),
Glob(GlobElement),
GlobDeleteall,
SubClassOf(TypeRefElement),
Alias(TypeRefElement),
Acronym(String),
ExpandedAcronym(String),
GenericIcon,
Magic,
MagicDeleteall,
Treemagic,
RootXML,
}Expand description
Element in a MIME definition.
Variants§
Comment(CommentElement)
Glob(GlobElement)
GlobDeleteall
SubClassOf(TypeRefElement)
Alias(TypeRefElement)
Acronym(String)
ExpandedAcronym(String)
GenericIcon
Magic
MagicDeleteall
Treemagic
RootXML
Trait Implementations§
Source§impl Clone for MimeTypeElement
impl Clone for MimeTypeElement
Source§fn clone(&self) -> MimeTypeElement
fn clone(&self) -> MimeTypeElement
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MimeTypeElement
impl Debug for MimeTypeElement
Source§impl<'de> Deserialize<'de> for MimeTypeElement
impl<'de> Deserialize<'de> for MimeTypeElement
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
Auto Trait Implementations§
impl Freeze for MimeTypeElement
impl RefUnwindSafe for MimeTypeElement
impl Send for MimeTypeElement
impl Sync for MimeTypeElement
impl Unpin for MimeTypeElement
impl UnwindSafe for MimeTypeElement
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