pub enum DispositionType {
Inline,
Attachment,
}
Expand description
Describes possible Content-Disposition
types
FormData
is not included as it is not supposed to be used
Variants§
Inline
Tells that content should be displayed inside web page.
Attachment
Tells that content should be downloaded.
Trait Implementations§
Source§impl Debug for DispositionType
impl Debug for DispositionType
Source§impl PartialEq for DispositionType
impl PartialEq for DispositionType
impl StructuralPartialEq for DispositionType
Auto Trait Implementations§
impl Freeze for DispositionType
impl RefUnwindSafe for DispositionType
impl Send for DispositionType
impl Sync for DispositionType
impl Unpin for DispositionType
impl UnwindSafe for DispositionType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more