[][src]Struct mailparse::ParsedContentDisposition

pub struct ParsedContentDisposition {
    pub disposition: DispositionType,
    pub params: BTreeMap<String, String>,
}

A struct to hold a more structured representation of the Content-Disposition header. This is provided mostly as a convenience since this metadata is usually needed to interpret the message body properly.

Fields

disposition: DispositionType

The disposition type of the Content-Disposition header. If this is an extension type, the string will be lowercased.

params: BTreeMap<String, String>

The additional params of Content-Disposition, e.g. filename. The keys in the map will be lowercased, and the values will have any enclosing quotes stripped.

Trait Implementations

impl Default for ParsedContentDisposition[src]

impl Debug for ParsedContentDisposition[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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