Enum iron::headers::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 PartialEq<DispositionType> for DispositionType
fn eq(&self, __arg_0: &DispositionType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DispositionType) -> bool
This method tests for !=
.
impl Debug for DispositionType
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Clone for DispositionType
fn clone(&self) -> DispositionType
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