Enum hyper::header::DispositionParam
[−]
[src]
pub enum DispositionParam { Filename(Charset, Option<LanguageTag>, Vec<u8>), Ext(String, String), }
A parameter to the disposition type
Variants
Filename(Charset, Option<LanguageTag>, Vec<u8>)
A Filename consisting of a Charset, an optional LanguageTag, and finally a sequence of bytes representing the filename
Ext(String, String)
Extension type consisting of token and value. Recipients should ignore unrecognized parameters.
Trait Implementations
impl Clone for DispositionParam
[src]
fn clone(&self) -> DispositionParam
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for DispositionParam
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for DispositionParam
[src]
fn eq(&self, __arg_0: &DispositionParam) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DispositionParam) -> bool
[src]
This method tests for !=
.