pub enum MimeBodyType {
Regular(Vec<String>),
Multipart(MimeMultipart),
Embedded(Mail),
}Expand description
Variants§
Trait Implementations§
§impl Clone for MimeBodyType
impl Clone for MimeBodyType
§fn clone(&self) -> MimeBodyType
fn clone(&self) -> MimeBodyType
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 more§impl Debug for MimeBodyType
impl Debug for MimeBodyType
§impl<'de> Deserialize<'de> for MimeBodyType
impl<'de> Deserialize<'de> for MimeBodyType
§fn 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
§impl PartialEq<MimeBodyType> for MimeBodyType
impl PartialEq<MimeBodyType> for MimeBodyType
§fn eq(&self, other: &MimeBodyType) -> bool
fn eq(&self, other: &MimeBodyType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.