Struct imap_types::response::data::MultiPartExtensionData
source · pub struct MultiPartExtensionData<'a> {
pub parameter_list: Vec<(IString<'a>, IString<'a>)>,
pub tail: Option<Disposition<'a>>,
}Expand description
The extension data of a multipart body part.
Trace (not in RFC)
(
("text" "html" ("charset" "us-ascii") NIL NIL "7bit" 28 0 NIL NIL NIL NIL)
("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 11 0 NIL NIL NIL NIL)
"mixed" ("boundary" "xxx") NIL NIL NIL
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| extension multipart data
)
Fields§
§parameter_list: Vec<(IString<'a>, IString<'a>)>A parenthesized list of attribute/value pairs [e.g., (“foo” “bar” “baz” “rag”) where “bar” is the value of “foo”, and “rag” is the value of “baz”] as defined in [MIME-IMB].
tail: Option<Disposition<'a>>(Optional) additional data.
Trait Implementations§
source§impl<'a> Clone for MultiPartExtensionData<'a>
impl<'a> Clone for MultiPartExtensionData<'a>
source§fn clone(&self) -> MultiPartExtensionData<'a>
fn clone(&self) -> MultiPartExtensionData<'a>
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<'a> Debug for MultiPartExtensionData<'a>
impl<'a> Debug for MultiPartExtensionData<'a>
source§impl<'a> Hash for MultiPartExtensionData<'a>
impl<'a> Hash for MultiPartExtensionData<'a>
source§impl<'a> PartialEq<MultiPartExtensionData<'a>> for MultiPartExtensionData<'a>
impl<'a> PartialEq<MultiPartExtensionData<'a>> for MultiPartExtensionData<'a>
source§fn eq(&self, other: &MultiPartExtensionData<'a>) -> bool
fn eq(&self, other: &MultiPartExtensionData<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a> Eq for MultiPartExtensionData<'a>
impl<'a> StructuralEq for MultiPartExtensionData<'a>
impl<'a> StructuralPartialEq for MultiPartExtensionData<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for MultiPartExtensionData<'a>
impl<'a> Send for MultiPartExtensionData<'a>
impl<'a> Sync for MultiPartExtensionData<'a>
impl<'a> Unpin for MultiPartExtensionData<'a>
impl<'a> UnwindSafe for MultiPartExtensionData<'a>
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