Struct mailstrom::message_status::InternalMessageStatus[][src]

pub struct InternalMessageStatus {
    pub message_id: String,
    pub recipients: Vec<InternalRecipientStatus>,
    pub attempts_remaining: u8,
}

An email to be sent (internal format). This is exposed publicly for implementers of MailstromStorage but otherwise should not be needed by users of this library.

Fields

The parsed-out (or generated) message ID

The parsed-out list of recipients, and the state each is in. If this is None, then the recipient information has not been determined yet (MX record lookups take some time).

Attempts remaining. This counts backwards to zero. If all deliveries are complete (permanent success or failure), it is set to zero.

Per-recipient deferred attempt numbers count upwards, and may get more attempts because a single worker pass may try a recipient on muliple MX servers.

Methods

impl InternalMessageStatus
[src]

Trait Implementations

impl Debug for InternalMessageStatus
[src]

Formats the value using the given formatter. Read more

impl Clone for InternalMessageStatus
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations