Enum actix_web::http::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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for DispositionParam
[src]

Formats the value using the given formatter. Read more

impl PartialEq for DispositionParam
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for DispositionParam

impl Sync for DispositionParam