Enum hyper::header::DispositionType
[−]
[src]
pub enum DispositionType { Inline, Attachment, Ext(String), }
The implied disposition of the content of the HTTP body.
Variants
Inline
Inline implies default processing
Attachment
Attachment implies that the recipient should prompt the user to save the response locally, rather than process it normally (as per its media type).
Ext(String)
Extension type. Should be handled by recipients the same way as Attachment
Trait Implementations
impl Clone for DispositionType
[src]
fn clone(&self) -> DispositionType
[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 DispositionType
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for DispositionType
[src]
fn eq(&self, __arg_0: &DispositionType) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DispositionType) -> bool
[src]
This method tests for !=
.