Enum hyper::header::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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DispositionType
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for DispositionType
[src]

[src]

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

[src]

This method tests for !=.