Enum hyper::header::DispositionType [−][src]
pub enum DispositionType {
Inline,
Attachment,
Ext(String),
}
Expand description
The implied disposition of the content of the HTTP body
Variants
Inline implies default processing
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
Tuple Fields of Ext
0: String
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DispositionType
impl Send for DispositionType
impl Sync for DispositionType
impl Unpin for DispositionType
impl UnwindSafe for DispositionType
Blanket Implementations
Mutably borrows from an owned value. Read more