Struct tiny_web::sys::mail::MailMessage
source · pub struct MailMessage {
pub to: Vec<String>,
pub cc: Option<Vec<String>>,
pub bcc: Option<Vec<String>>,
pub from: String,
pub reply_to: Option<String>,
pub subject: String,
pub body: Vec<MailBody>,
}Expand description
Email message
Fields§
§to: Vec<String>To
cc: Option<Vec<String>>CC
bcc: Option<Vec<String>>BCC
from: StringFROM
reply_to: Option<String>REPLY-TO
subject: StringSUBJECT
body: Vec<MailBody>List of attachments
Trait Implementations§
source§impl Clone for MailMessage
impl Clone for MailMessage
source§fn clone(&self) -> MailMessage
fn clone(&self) -> MailMessage
Returns a copy 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 MailMessage
impl Debug for MailMessage
Auto Trait Implementations§
impl RefUnwindSafe for MailMessage
impl Send for MailMessage
impl Sync for MailMessage
impl Unpin for MailMessage
impl UnwindSafe for MailMessage
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