#[non_exhaustive]pub enum TextMediaType {
Plain,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Plain
Trait Implementations§
Source§impl Clone for TextMediaType
impl Clone for TextMediaType
impl Copy for TextMediaType
Source§impl Debug for TextMediaType
impl Debug for TextMediaType
Source§impl DeclaredFields for TextMediaType
impl DeclaredFields for TextMediaType
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for TextMediaType
impl<'de> Deserialize<'de> for TextMediaType
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 Eq for TextMediaType
Source§impl PartialEq for TextMediaType
impl PartialEq for TextMediaType
Source§impl Serialize for TextMediaType
impl Serialize for TextMediaType
impl StructuralPartialEq for TextMediaType
Auto Trait Implementations§
impl Freeze for TextMediaType
impl RefUnwindSafe for TextMediaType
impl Send for TextMediaType
impl Sync for TextMediaType
impl Unpin for TextMediaType
impl UnsafeUnpin for TextMediaType
impl UnwindSafe for TextMediaType
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