[−][src]Struct media_type::AnyMediaType
Methods
impl AnyMediaType[src]
pub fn type_(&self) -> Name[src]
pub fn subtype(&self) -> Name[src]
pub fn full_type(&self) -> Name[src]
pub fn get_param<'a, N>(&'a self, attr: N) -> Option<Value<'a>> where
N: PartialEq<Name<'a>>, [src]
N: PartialEq<Name<'a>>,
pub fn params(&self) -> Params[src]
pub fn as_str_repr(&self) -> &str[src]
pub fn has_utf8_charset(&self) -> bool[src]
pub fn is_multipart(&self) -> bool[src]
Trait Implementations
impl Clone for AnyMediaType[src]
fn clone(&self) -> AnyMediaType[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for AnyMediaType[src]
impl Display for AnyMediaType[src]
impl<S> Into<AnyMediaType> for MediaType<S> where
S: Spec, [src]
S: Spec,
fn into(self) -> AnyMediaType[src]
impl PartialEq<AnyMediaType> for AnyMediaType[src]
Auto Trait Implementations
impl RefUnwindSafe for AnyMediaType
impl Send for AnyMediaType
impl Sync for AnyMediaType
impl Unpin for AnyMediaType
impl UnwindSafe for AnyMediaType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,