Enum actix_web::http::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]
impl Clone for DispositionType
fn clone(&self) -> DispositionType
[src]
fn clone(&self) -> DispositionType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for DispositionType
[src]
impl Debug for DispositionType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for DispositionType
[src]
impl PartialEq for DispositionType
fn eq(&self, other: &DispositionType) -> bool
[src]
fn eq(&self, other: &DispositionType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DispositionType) -> bool
[src]
fn ne(&self, other: &DispositionType) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for DispositionType
impl Send for DispositionType
impl Sync for DispositionType
impl Sync for DispositionType