pub enum EmailBody {
Text(String),
Html(String),
HtmlAndText {
text: String,
html: String,
},
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EmailBody
impl RefUnwindSafe for EmailBody
impl Send for EmailBody
impl Sync for EmailBody
impl Unpin for EmailBody
impl UnwindSafe for EmailBody
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