pub struct OutboxRecord {
pub entry: OutboxEntry,
pub claim: Option<OutboxClaim>,
pub last_failure: Option<String>,
pub remote_ref: Option<String>,
}Expand description
An outbox entry with the store-owned dispatch metadata.
Fields§
§entry: OutboxEntryThe entry as the core sees it.
claim: Option<OutboxClaim>Current claim, while Dispatching.
last_failure: Option<String>Stable code of the last failure, if any.
remote_ref: Option<String>Remote reference recorded with an unknown outcome, for reconciliation.
Implementations§
Source§impl OutboxRecord
impl OutboxRecord
Sourcepub fn new(entry: OutboxEntry) -> Self
pub fn new(entry: OutboxEntry) -> Self
Wraps a freshly enqueued entry.
Trait Implementations§
Source§impl Clone for OutboxRecord
impl Clone for OutboxRecord
Source§impl Debug for OutboxRecord
impl Debug for OutboxRecord
Source§impl<'de> Deserialize<'de> for OutboxRecord
impl<'de> Deserialize<'de> for OutboxRecord
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 OutboxRecord
Source§impl PartialEq for OutboxRecord
impl PartialEq for OutboxRecord
Source§impl Serialize for OutboxRecord
impl Serialize for OutboxRecord
impl StructuralPartialEq for OutboxRecord
Auto Trait Implementations§
impl Freeze for OutboxRecord
impl RefUnwindSafe for OutboxRecord
impl Send for OutboxRecord
impl Sync for OutboxRecord
impl Unpin for OutboxRecord
impl UnsafeUnpin for OutboxRecord
impl UnwindSafe for OutboxRecord
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.