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 Clone for DispositionType
[src]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl Debug for DispositionType
[src]

[]

Formats the value using the given formatter.

impl PartialEq<DispositionType> for DispositionType
[src]

[]

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

[]

This method tests for !=.