pub struct WakeExpiry {
pub id: String,
pub to: String,
pub from: String,
pub subject: Option<String>,
pub filed_at_ms: u64,
pub expired_at_ms: u64,
pub attempts: u32,
pub reason: String,
}Expand description
A wake that ended undelivered: its message stays filed and unread in the mailbox.
Fields§
§id: StringThe message’s id.
to: StringThe mailbox’s address (for another machine’s address, the copy waiting here to be carried).
from: StringIts sender.
subject: Option<String>Its subject, when it has one.
filed_at_ms: u64When it was filed, epoch milliseconds.
expired_at_ms: u64When its wake expired, epoch milliseconds.
attempts: u32Failed attempts at its delivery.
reason: StringWhy the last attempt failed.
Trait Implementations§
Source§impl Clone for WakeExpiry
impl Clone for WakeExpiry
Source§impl Debug for WakeExpiry
impl Debug for WakeExpiry
Source§impl<'de> Deserialize<'de> for WakeExpiry
impl<'de> Deserialize<'de> for WakeExpiry
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 WakeExpiry
Source§impl PartialEq for WakeExpiry
impl PartialEq for WakeExpiry
Source§impl Serialize for WakeExpiry
impl Serialize for WakeExpiry
impl StructuralPartialEq for WakeExpiry
Auto Trait Implementations§
impl Freeze for WakeExpiry
impl RefUnwindSafe for WakeExpiry
impl Send for WakeExpiry
impl Sync for WakeExpiry
impl Unpin for WakeExpiry
impl UnsafeUnpin for WakeExpiry
impl UnwindSafe for WakeExpiry
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
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§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
Compare self to
key and return true if they are equal.