Enum mail_parser::MessageAttachment
source · [−]Expand description
Contents of an e-mail message attachment.
Variants
Parsed(Box<Message<'x>>)
Raw(Cow<'x, [u8]>)
Implementations
Trait Implementations
sourceimpl<'x> Debug for MessageAttachment<'x>
impl<'x> Debug for MessageAttachment<'x>
sourceimpl<'x> Default for MessageAttachment<'x>
impl<'x> Default for MessageAttachment<'x>
sourceimpl<'x, 'de> Deserialize<'de> for MessageAttachment<'x>
impl<'x, 'de> Deserialize<'de> for MessageAttachment<'x>
sourcefn deserialize<D>(_deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<'x> PartialEq<MessageAttachment<'x>> for MessageAttachment<'x>
impl<'x> PartialEq<MessageAttachment<'x>> for MessageAttachment<'x>
sourcefn eq(&self, other: &MessageAttachment<'x>) -> bool
fn eq(&self, other: &MessageAttachment<'x>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MessageAttachment<'x>) -> bool
fn ne(&self, other: &MessageAttachment<'x>) -> bool
This method tests for !=
.
sourceimpl<'x> Serialize for MessageAttachment<'x>
impl<'x> Serialize for MessageAttachment<'x>
impl<'x> StructuralPartialEq for MessageAttachment<'x>
Auto Trait Implementations
impl<'x> RefUnwindSafe for MessageAttachment<'x>
impl<'x> Send for MessageAttachment<'x>
impl<'x> Sync for MessageAttachment<'x>
impl<'x> Unpin for MessageAttachment<'x>
impl<'x> UnwindSafe for MessageAttachment<'x>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more