pub enum RawEmailBody {
Plain(String),
Html(String),
}
Variants§
Trait Implementations§
Source§impl Clone for RawEmailBody
impl Clone for RawEmailBody
Source§fn clone(&self) -> RawEmailBody
fn clone(&self) -> RawEmailBody
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 RawEmailBody
impl Debug for RawEmailBody
Source§impl<'de> Deserialize<'de> for RawEmailBody
impl<'de> Deserialize<'de> for RawEmailBody
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 PartialEq for RawEmailBody
impl PartialEq for RawEmailBody
Source§impl Serialize for RawEmailBody
impl Serialize for RawEmailBody
impl Eq for RawEmailBody
impl StructuralPartialEq for RawEmailBody
Auto Trait Implementations§
impl Freeze for RawEmailBody
impl RefUnwindSafe for RawEmailBody
impl Send for RawEmailBody
impl Sync for RawEmailBody
impl Unpin for RawEmailBody
impl UnwindSafe for RawEmailBody
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.