pub enum EmailEvent {
Bounced,
Canceled,
Clicked,
Complained,
Delivered,
DeliveryDelayed,
Failed,
Opened,
Queued,
Scheduled,
Sent,
}Expand description
Strongly typed last_event.
https://resend.com/docs/dashboard/emails/introduction#understand-email-events
Variants§
Bounced
The recipient’s mail server rejected the email.
Canceled
The scheduled email was canceled (by user).
Clicked
The recipient clicked on a link in the email.
Complained
The email was successfully delivered to the recipient’s mail server, but the recipient marked it as spam.
Delivered
Resend successfully delivered the email to the recipient’s mail server.
DeliveryDelayed
The email couldn’t be delivered to the recipient’s mail server because a temporary issue occurred. Delivery delays can occur, for example, when the recipient’s inbox is full, or when the receiving email server experiences a transient issue.
Failed
The email failed to be sent.
Opened
The recipient opened the email.
Queued
The email created from Broadcasts or Batches is queued for delivery.
Scheduled
The email is scheduled for delivery.
Sent
The email was sent successfully.
Trait Implementations§
Source§impl Clone for EmailEvent
impl Clone for EmailEvent
Source§fn clone(&self) -> EmailEvent
fn clone(&self) -> EmailEvent
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for EmailEvent
Source§impl Debug for EmailEvent
impl Debug for EmailEvent
Source§impl<'de> Deserialize<'de> for EmailEvent
impl<'de> Deserialize<'de> for EmailEvent
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>,
impl Eq for EmailEvent
Source§impl PartialEq for EmailEvent
impl PartialEq for EmailEvent
Source§impl Serialize for EmailEvent
impl Serialize for EmailEvent
impl StructuralPartialEq for EmailEvent
Auto Trait Implementations§
impl Freeze for EmailEvent
impl RefUnwindSafe for EmailEvent
impl Send for EmailEvent
impl Sync for EmailEvent
impl Unpin for EmailEvent
impl UnsafeUnpin for EmailEvent
impl UnwindSafe for EmailEvent
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.