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
sourceimpl Clone for DispositionKind
impl Clone for DispositionKind
sourcefn clone(&self) -> DispositionKind
fn clone(&self) -> DispositionKind
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 DispositionKind
impl Debug for DispositionKind
sourceimpl Hash for DispositionKind
impl Hash for DispositionKind
sourceimpl PartialEq<DispositionKind> for DispositionKind
impl PartialEq<DispositionKind> for DispositionKind
sourcefn eq(&self, other: &DispositionKind) -> bool
fn eq(&self, other: &DispositionKind) -> bool
impl Copy for DispositionKind
impl Eq for DispositionKind
impl StructuralEq for DispositionKind
impl StructuralPartialEq for DispositionKind
Auto Trait Implementations
impl RefUnwindSafe for DispositionKind
impl Send for DispositionKind
impl Sync for DispositionKind
impl Unpin for DispositionKind
impl UnwindSafe for DispositionKind
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