Enum hyper::header::DispositionType
source · pub enum DispositionType {
Inline,
Attachment,
Ext(String),
}
Expand description
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§
source§impl Clone for DispositionType
impl Clone for DispositionType
source§fn clone(&self) -> DispositionType
fn clone(&self) -> DispositionType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more