Enum actix_web::http::header::DispositionType [−][src]
pub enum DispositionType {
Inline,
Attachment,
FormData,
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).
Used in multipart/form-data as defined in RFC7578 to carry the field name and the file name.
Ext(String)Extension type. Should be handled by recipients the same way as Attachment
Trait Implementations
Performs the conversion.
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 DispositionTypeimpl Send for DispositionTypeimpl Sync for DispositionTypeimpl Unpin for DispositionTypeimpl UnwindSafe for DispositionTypeBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V