pub struct EmailDetails {
pub mail_id: String,
pub mail_from: String,
pub mail_subject: String,
pub mail_body: String,
pub mail_timestamp: String,
pub attachments: Vec<Attachment>,
pub attachment_count: Option<u32>,
pub sid_token: Option<String>,
}Expand description
Full email details including body content.
Fields§
§mail_id: StringUnique message ID.
mail_from: StringSender email address.
mail_subject: StringEmail subject line.
mail_body: StringFull HTML body of the email.
mail_timestamp: StringUnix timestamp in seconds (string) of when the email was received.
attachments: Vec<Attachment>Attachment metadata entries (if any); see Attachment.
attachment_count: Option<u32>Attachment count (if provided by API).
sid_token: Option<String>Session token sometimes returned by the API.
Trait Implementations§
Source§impl Clone for EmailDetails
impl Clone for EmailDetails
Source§fn clone(&self) -> EmailDetails
fn clone(&self) -> EmailDetails
Returns a duplicate 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 EmailDetails
impl Debug for EmailDetails
Source§impl<'de> Deserialize<'de> for EmailDetails
impl<'de> Deserialize<'de> for EmailDetails
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EmailDetails
impl RefUnwindSafe for EmailDetails
impl Send for EmailDetails
impl Sync for EmailDetails
impl Unpin for EmailDetails
impl UnwindSafe for EmailDetails
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