pub enum DispositionParam {
Filename(Charset, Option<LanguageTag>, Vec<u8>),
Ext(String, String),
}
Expand description
A parameter to the disposition type.
Variants§
Filename(Charset, Option<LanguageTag>, Vec<u8>)
A Filename consisting of a Charset, an optional LanguageTag, and finally a sequence of bytes representing the filename
Ext(String, String)
Extension type consisting of token and value. Recipients should ignore unrecognized parameters.
Trait Implementations§
Source§impl Clone for DispositionParam
impl Clone for DispositionParam
Source§fn clone(&self) -> DispositionParam
fn clone(&self) -> DispositionParam
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 moreSource§impl Debug for DispositionParam
impl Debug for DispositionParam
Source§impl PartialEq for DispositionParam
impl PartialEq for DispositionParam
impl StructuralPartialEq for DispositionParam
Auto Trait Implementations§
impl Freeze for DispositionParam
impl RefUnwindSafe for DispositionParam
impl Send for DispositionParam
impl Sync for DispositionParam
impl Unpin for DispositionParam
impl UnwindSafe for DispositionParam
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)