Enum emailmessage::MultiPartKind
source · pub enum MultiPartKind {
Mixed,
Alternative,
Related,
}
Expand description
The kind of multipart
Variants
Mixed
Mixed kind to combine unrelated content parts
For example this kind can be used to mix email message and attachments.
Alternative
Alternative kind to join several variants of same email contents.
That kind is recommended to use for joining plain (text) and rich (HTML) messages into single email message.
Related
Related kind to mix content and related resources.
For example, you can include images into HTML content using that.
Trait Implementations
sourceimpl Clone for MultiPartKind
impl Clone for MultiPartKind
sourcefn clone(&self) -> MultiPartKind
fn clone(&self) -> MultiPartKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MultiPartKind
impl Debug for MultiPartKind
sourceimpl From<MultiPartKind> for Mime
impl From<MultiPartKind> for Mime
sourcefn from(m: MultiPartKind) -> Self
fn from(m: MultiPartKind) -> Self
Converts to this type from the input type.
impl Copy for MultiPartKind
Auto Trait Implementations
impl RefUnwindSafe for MultiPartKind
impl Send for MultiPartKind
impl Sync for MultiPartKind
impl Unpin for MultiPartKind
impl UnwindSafe for MultiPartKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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