Enum iron::headers::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 PartialEq<DispositionParam> for DispositionParam
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 !=
.
impl Debug for DispositionParam
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Clone for DispositionParam
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