Enum iron::headers::DispositionParam [] [src]

pub enum DispositionParam {
    Filename(Charset, Option<LanguageTag>, Vec<u8>),
    Ext(String, String),
}

A parameter to the disposition type

Variants

Filename

A Filename consisting of a Charset, an optional LanguageTag, and finally a sequence of bytes representing the filename

Ext

Extension type consisting of token and value. Recipients should ignore unrecognized parameters.

Trait Implementations

Derived Implementations

impl PartialEq<DispositionParam> for DispositionParam

fn eq(&self, __arg_0: &DispositionParam) -> bool

fn ne(&self, __arg_0: &DispositionParam) -> bool

impl Debug for DispositionParam

fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>

impl Clone for DispositionParam

fn clone(&self) -> DispositionParam

fn clone_from(&mut self, source: &Self)