Enum iron::headers::DispositionType [] [src]

pub enum DispositionType {
    Inline,
    Attachment,
    Ext(String),
}

The implied disposition of the content of the HTTP body

Variants

Inline

Inline implies default processing

Attachment

Attachment implies that the recipient should prompt the user to save the response locally, rather than process it normally (as per its media type).

Ext

Extension type. Should be handled by recipients the same way as Attachment

Trait Implementations

Derived Implementations

impl PartialEq<DispositionType> for DispositionType

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

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

impl Debug for DispositionType

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

impl Clone for DispositionType

fn clone(&self) -> DispositionType

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