[][src]Struct tokio_imap::types::ContentType

pub struct ContentType<'a> {
    pub ty: &'a str,
    pub subtype: &'a str,
    pub params: Option<Vec<(&'a str, &'a str)>>,
}

Fields

ty: &'a strsubtype: &'a strparams: Option<Vec<(&'a str, &'a str)>>

Trait Implementations

impl<'a> Debug for ContentType<'a>[src]

impl<'a> Eq for ContentType<'a>[src]

impl<'a> PartialEq<ContentType<'a>> for ContentType<'a>[src]

impl<'a> StructuralEq for ContentType<'a>[src]

impl<'a> StructuralPartialEq for ContentType<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for ContentType<'a>

impl<'a> Send for ContentType<'a>

impl<'a> Sync for ContentType<'a>

impl<'a> Unpin for ContentType<'a>

impl<'a> UnwindSafe for ContentType<'a>

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, 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.