[−][src]Enum email::MimeMultipartType
Marks the type of a multipart message
Variants
Entries which are independent.
This value is the default.
As defined by Section 5.1.3 of RFC 2046
Entries which are interchangeable, such that the system can choose whichever is "best" for its use.
As defined by Section 5.1.4 of RFC 2046
Entries are (typically) a collection of messages.
As defined by Section 5.1.5 of RFC 2046
Two entries, the first of which explains the decryption process for the second body part.
As defined by Section 2.2 of RFC 1847
Entry order does not matter, and could be displayed simultaneously.
As defined by Section 5.1.6 of RFC 2046
Two entries, the first of which is the content, the second is a digital signature of the first, including MIME headers.
As defined by Section 2.1 of RFC 1847
Methods
impl MimeMultipartType
[src]
pub fn from_content_type(ct: MimeContentType) -> Option<MimeMultipartType>
[src]
Returns the appropriate MimeMultipartType
for the given MimeContentType
pub fn to_content_type(self) -> MimeContentType
[src]
Returns a MimeContentType that represents this multipart type.
Trait Implementations
impl Clone for MimeMultipartType
[src]
fn clone(&self) -> MimeMultipartType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for MimeMultipartType
[src]
impl Debug for MimeMultipartType
[src]
impl Eq for MimeMultipartType
[src]
impl PartialEq<MimeMultipartType> for MimeMultipartType
[src]
fn eq(&self, other: &MimeMultipartType) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for MimeMultipartType
[src]
impl StructuralPartialEq for MimeMultipartType
[src]
Auto Trait Implementations
impl RefUnwindSafe for MimeMultipartType
impl Send for MimeMultipartType
impl Sync for MimeMultipartType
impl Unpin for MimeMultipartType
impl UnwindSafe for MimeMultipartType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,