Enum hyper::header::DispositionParam [] [src]

pub enum DispositionParam {
    Filename(CharsetOption<LanguageTag>, Vec<u8>),
    Ext(StringString),
}

A parameter to the disposition type.

Variants

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

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

Trait Implementations

impl Clone for DispositionParam
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DispositionParam
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for DispositionParam
[src]

[src]

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

[src]

This method tests for !=.