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
)