pub struct Email {
pub from: Option<(String, String)>,
pub sent_date: Option<DateTime<Utc>>,
pub to: Vec<(String, String)>,
pub cc: Vec<(String, String)>,
pub bcc: Vec<(String, String)>,
pub subject: Option<String>,
pub body: Option<String>,
pub attachments: Vec<Attachment>,
pub embedded_messages: Vec<Email>,
}Expand description
A high-level API for interacting with .msg files, providing an owned data structure.
Fields§
§from: Option<(String, String)>§sent_date: Option<DateTime<Utc>>§to: Vec<(String, String)>§cc: Vec<(String, String)>§bcc: Vec<(String, String)>§subject: Option<String>§body: Option<String>§attachments: Vec<Attachment>§embedded_messages: Vec<Email>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