#[repr(transparent)]pub struct MimeType(pub String);Tuple Fields§
§0: StringTrait Implementations§
Source§impl CandidType for MimeType
impl CandidType for MimeType
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 Eq for MimeType
Source§impl NormalizeAuto for MimeType
impl NormalizeAuto for MimeType
fn normalize_self(&mut self, ctx: &mut dyn VisitorContext)
Source§impl NormalizeCustom for MimeType
impl NormalizeCustom for MimeType
fn normalize_custom(&mut self, _ctx: &mut dyn VisitorContext)
Source§impl Ord for MimeType
impl Ord for MimeType
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for MimeType
impl PartialOrd for MimeType
Source§impl PartialOrd<MimeType> for String
impl PartialOrd<MimeType> for String
Source§impl PartialOrd<String> for MimeType
impl PartialOrd<String> for MimeType
impl StructuralPartialEq for MimeType
Source§impl ValidateAuto for MimeType
impl ValidateAuto for MimeType
fn validate_self(&self, ctx: &mut dyn VisitorContext)
Source§impl ValidateCustom for MimeType
impl ValidateCustom for MimeType
fn validate_custom(&self, _ctx: &mut dyn VisitorContext)
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.