pub struct Mail {
pub from: Mailbox,
pub to: Vec<Mailbox>,
pub cc: Vec<Mailbox>,
pub bcc: Vec<Mailbox>,
pub subject: String,
pub text: Option<String>,
pub html: Option<String>,
pub attachments: Vec<FileAttachment>,
pub headers: Vec<(String, String)>,
pub date: SystemTime,
pub message_id: String,
pub boundary_seed: String,
}Fields§
§from: Mailbox§to: Vec<Mailbox>§cc: Vec<Mailbox>§bcc: Vec<Mailbox>§subject: String§text: Option<String>§html: Option<String>§attachments: Vec<FileAttachment>§headers: Vec<(String, String)>§date: SystemTime§message_id: String§boundary_seed: StringASCII alphanumeric seed, 1..=48 bytes. Caller ensures it is absent from content; derived mixed/alternative boundaries are distinct.
Auto Trait Implementations§
impl Forget for Mail
impl Freeze for Mail
impl RefUnwindSafe for Mail
impl Send for Mail
impl Sync for Mail
impl Unpin for Mail
impl UnsafeUnpin for Mail
impl UnwindSafe for Mail
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