[][src]Struct mime_parse_4::Mime

pub struct Mime { /* fields omitted */ }

Implementations

impl Mime[src]

pub fn type_(&self) -> &str[src]

pub fn subtype(&self) -> &str[src]

pub fn suffix(&self) -> Option<&str>[src]

pub fn params(&self) -> Params<'_>

Notable traits for Params<'a>

impl<'a> Iterator for Params<'a> type Item = (&'a str, &'a str);
[src]

pub fn param<'a>(&'a self, attr: &str) -> Option<&'a str>[src]

pub fn has_params(&self) -> bool[src]

pub fn without_params(self) -> Self[src]

pub fn essence(&self) -> &str[src]

Trait Implementations

impl AsRef<str> for Mime[src]

impl Clone for Mime[src]

impl Debug for Mime[src]

impl Display for Mime[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.