pub struct Email {Show 14 fields
pub from: String,
pub to: String,
pub cc: Option<String>,
pub bcc: Option<String>,
pub subject: Option<String>,
pub tag: Option<String>,
pub body: EmailBody,
pub reply_to: Option<String>,
pub headers: Option<Vec<EmailHeader>>,
pub track_opens: Option<bool>,
pub track_links: Option<TrackLinks>,
pub metadata: Option<HashMap<String, String>>,
pub attachments: Option<Vec<Attachment>>,
pub message_stream: Option<String>,
}
Fields§
§from: String
§to: String
§cc: Option<String>
§bcc: Option<String>
§subject: Option<String>
§tag: Option<String>
§body: EmailBody
§reply_to: Option<String>
§headers: Option<Vec<EmailHeader>>
§track_opens: Option<bool>
§track_links: Option<TrackLinks>
§metadata: Option<HashMap<String, String>>
§attachments: Option<Vec<Attachment>>
§message_stream: Option<String>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Email
impl RefUnwindSafe for Email
impl Send for Email
impl Sync for Email
impl Unpin for Email
impl UnwindSafe for Email
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