pub struct ContentDisposition {
pub filename: Option<String>,
}Expand description
Parsed Content-Disposition header, extracting the filename parameter.
Supports both filename="..." (quoted) and filename*=UTF-8''... (RFC 5987)
encoding. When both are present, filename* takes precedence.
Fields§
§filename: Option<String>The filename parameter, if the header carried one.
Implementations§
Trait Implementations§
Source§impl Debug for ContentDisposition
impl Debug for ContentDisposition
impl Eq for ContentDisposition
Source§impl PartialEq for ContentDisposition
impl PartialEq for ContentDisposition
impl StructuralPartialEq for ContentDisposition
Auto Trait Implementations§
impl Freeze for ContentDisposition
impl RefUnwindSafe for ContentDisposition
impl Send for ContentDisposition
impl Sync for ContentDisposition
impl Unpin for ContentDisposition
impl UnsafeUnpin for ContentDisposition
impl UnwindSafe for ContentDisposition
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