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
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for DispositionParam
[src]
impl PartialEq for DispositionParam
[src]
fn eq(&self, __arg_0: &DispositionParam) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DispositionParam) -> bool
This method tests for !=
.