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

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

The implied disposition of the content of the HTTP body

Variants

Inline implies default processing

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

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

Trait Implementations

impl PartialEq<DispositionType> for DispositionType

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for DispositionType

Formats the value using the given formatter.

impl Clone for DispositionType

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more