pub struct MimeData {
pub mime: CompactString,
pub decoded_bytes: Vec<u8>,
}Expand description
One fully assembled MIME payload from a 5522 read.
Fields§
§mime: CompactStringDecoded MIME type, e.g. image/png.
decoded_bytes: Vec<u8>Concatenated decoded bytes of all DATA chunks for this type.
Trait Implementations§
impl Eq for MimeData
impl StructuralPartialEq for MimeData
Auto Trait Implementations§
impl Forget for MimeData
impl Freeze for MimeData
impl RefUnwindSafe for MimeData
impl Send for MimeData
impl Sync for MimeData
impl Unpin for MimeData
impl UnsafeUnpin for MimeData
impl UnwindSafe for MimeData
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.