pub struct SentEmail {Show 16 fields
pub message_id: String,
pub from: String,
pub to: Vec<String>,
pub cc: Vec<String>,
pub bcc: Vec<String>,
pub subject: Option<String>,
pub html_body: Option<String>,
pub text_body: Option<String>,
pub raw_data: Option<String>,
pub template_name: Option<String>,
pub template_data: Option<String>,
pub dkim_signature: Option<String>,
pub headers: Vec<(String, String)>,
pub timestamp: DateTime<Utc>,
pub email_tags: Vec<(String, String)>,
pub delivery_insights: Vec<EmailRecipientInsight>,
}Fields§
§message_id: String§from: String§to: Vec<String>§cc: Vec<String>§bcc: Vec<String>§subject: Option<String>§html_body: Option<String>§text_body: Option<String>§raw_data: Option<String>§template_name: Option<String>§template_data: Option<String>§dkim_signature: Option<String>Computed DKIM-Signature header value when the sender’s identity
has DKIM signing enabled. Empty string when sender unverified or
DKIM not configured.
headers: Vec<(String, String)>Synthesized RFC 5322-style headers for the stored message. When
DKIM signing is active the DKIM-Signature header is the first
entry, ahead of the From/To/Subject/Date/Message-ID
headers covered by the signature. Empty for messages stored
before DKIM was wired up.
timestamp: DateTime<Utc>Tags applied to the email at send time (EmailTags from v2 SendEmail).
delivery_insights: Vec<EmailRecipientInsight>Per-destination delivery insights populated by the event fanout.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SentEmail
impl<'de> Deserialize<'de> for SentEmail
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 SentEmail
impl RefUnwindSafe for SentEmail
impl Send for SentEmail
impl Sync for SentEmail
impl Unpin for SentEmail
impl UnsafeUnpin for SentEmail
impl UnwindSafe for SentEmail
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