pub enum DispositionKind {
Inline,
Attachment,
}
Expand description
Represents what kind of disposition is used (Inline/Attachment)
Variants§
Inline
Display the body “inline”.
This disposition is mainly used to add some additional content and then refers to it through its cid (e.g. in a html mail).
Attachment
Display the body as an attachment to of the mail.
Trait Implementations§
Source§impl Clone for DispositionKind
impl Clone for DispositionKind
Source§fn clone(&self) -> DispositionKind
fn clone(&self) -> DispositionKind
Returns a duplicate 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 moreSource§impl Debug for DispositionKind
impl Debug for DispositionKind
Source§impl<'de> Deserialize<'de> for DispositionKind
impl<'de> Deserialize<'de> for DispositionKind
Source§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
Source§impl Hash for DispositionKind
impl Hash for DispositionKind
Source§impl PartialEq for DispositionKind
impl PartialEq for DispositionKind
Source§impl Serialize for DispositionKind
impl Serialize for DispositionKind
impl Copy for DispositionKind
impl Eq for DispositionKind
impl StructuralPartialEq for DispositionKind
Auto Trait Implementations§
impl Freeze for DispositionKind
impl RefUnwindSafe for DispositionKind
impl Send for DispositionKind
impl Sync for DispositionKind
impl Unpin for DispositionKind
impl UnwindSafe for DispositionKind
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