pub struct OutboxItem {
pub seq: OutboxSeq,
pub kind: OutboxKind,
pub transfer_id: Option<TransferId>,
pub journal_seq: u64,
}Expand description
A committed-but-unemitted proof-plane item, staged transactionally with the
ledger commit (the outbox pattern) and drained by
crate::LedgerBackend::outbox_peek / outbox_ack.
Fields§
§seq: OutboxSeqOrdered position.
kind: OutboxKindThe kind of proof this item carries.
transfer_id: Option<TransferId>The transfer this evidences (for receipts).
journal_seq: u64The journal sequence of the commit that produced it.
Trait Implementations§
Source§impl Clone for OutboxItem
impl Clone for OutboxItem
Source§fn clone(&self) -> OutboxItem
fn clone(&self) -> OutboxItem
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 OutboxItem
impl Debug for OutboxItem
Source§impl<'de> Deserialize<'de> for OutboxItem
impl<'de> Deserialize<'de> for OutboxItem
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
Source§impl PartialEq for OutboxItem
impl PartialEq for OutboxItem
Source§fn eq(&self, other: &OutboxItem) -> bool
fn eq(&self, other: &OutboxItem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OutboxItem
impl Serialize for OutboxItem
impl Eq for OutboxItem
impl StructuralPartialEq for OutboxItem
Auto Trait Implementations§
impl Freeze for OutboxItem
impl RefUnwindSafe for OutboxItem
impl Send for OutboxItem
impl Sync for OutboxItem
impl Unpin for OutboxItem
impl UnsafeUnpin for OutboxItem
impl UnwindSafe for OutboxItem
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