pub struct EmailDeliveryReport {
pub message_id: String,
pub status: EmailStatus,
pub provider_message_id: Option<String>,
pub delivered_at: Option<DateTime<Utc>>,
pub error: Option<String>,
pub bounce_reason: Option<String>,
pub opened_at: Option<DateTime<Utc>>,
pub clicked_at: Vec<DateTime<Utc>>,
pub metadata: HashMap<String, String>,
}Expand description
Email delivery report
Fields§
§message_id: StringMessage ID
status: EmailStatusDelivery status
provider_message_id: Option<String>Provider-specific message ID
delivered_at: Option<DateTime<Utc>>Delivery timestamp
error: Option<String>Error message (if failed)
bounce_reason: Option<String>Bounce reason (if bounced)
opened_at: Option<DateTime<Utc>>Open tracking timestamp
clicked_at: Vec<DateTime<Utc>>Click tracking timestamps
metadata: HashMap<String, String>Additional metadata
Trait Implementations§
Source§impl Clone for EmailDeliveryReport
impl Clone for EmailDeliveryReport
Source§impl Debug for EmailDeliveryReport
impl Debug for EmailDeliveryReport
Source§impl<'de> Deserialize<'de> for EmailDeliveryReport
impl<'de> Deserialize<'de> for EmailDeliveryReport
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 EmailDeliveryReport
impl RefUnwindSafe for EmailDeliveryReport
impl Send for EmailDeliveryReport
impl Sync for EmailDeliveryReport
impl Unpin for EmailDeliveryReport
impl UnsafeUnpin for EmailDeliveryReport
impl UnwindSafe for EmailDeliveryReport
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