#[non_exhaustive]pub struct DeliveryStatus {
pub smtp_reply: String,
pub delivered: Delivered,
pub displayed: Displayed,
pub extra: Map<String, Value>,
}Expand description
Per-recipient delivery status for an EmailSubmission (RFC 8621 §7).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.smtp_reply: StringThe SMTP reply string returned when the server last attempted relay, or from a later DSN (RFC 3464). Multi-line responses are concatenated into a single string.
delivered: DeliveredWhether the message reached the recipient’s mail store.
displayed: DisplayedWhether the message has been displayed to the recipient.
extra: Map<String, Value>Catch-all for vendor / site / private extension fields not covered by the typed fields above. Preserves unknown fields across deserialize/serialize round-trip per workspace extras-preservation policy (see workspace AGENTS.md).
Implementations§
Trait Implementations§
Source§impl Clone for DeliveryStatus
impl Clone for DeliveryStatus
Source§fn clone(&self) -> DeliveryStatus
fn clone(&self) -> DeliveryStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeliveryStatus
impl Debug for DeliveryStatus
Source§impl<'de> Deserialize<'de> for DeliveryStatus
impl<'de> Deserialize<'de> for DeliveryStatus
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
impl Eq for DeliveryStatus
Source§impl PartialEq for DeliveryStatus
impl PartialEq for DeliveryStatus
Source§fn eq(&self, other: &DeliveryStatus) -> bool
fn eq(&self, other: &DeliveryStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DeliveryStatus
impl Serialize for DeliveryStatus
impl StructuralPartialEq for DeliveryStatus
Auto Trait Implementations§
impl Freeze for DeliveryStatus
impl RefUnwindSafe for DeliveryStatus
impl Send for DeliveryStatus
impl Sync for DeliveryStatus
impl Unpin for DeliveryStatus
impl UnsafeUnpin for DeliveryStatus
impl UnwindSafe for DeliveryStatus
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