pub struct OutboxRecord {
pub id: String,
pub topic: String,
pub payload: String,
pub attempts: i64,
}Expand description
A leased outbox record handed to a drainer.
Fields§
§id: String§topic: StringWhat kind of work this is (the module routes on it).
payload: StringThe opaque payload the module wrote (typically JSON).
attempts: i64How many delivery attempts have already failed.
Trait Implementations§
Source§impl Clone for OutboxRecord
impl Clone for OutboxRecord
Source§fn clone(&self) -> OutboxRecord
fn clone(&self) -> OutboxRecord
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 OutboxRecord
impl Debug for OutboxRecord
impl Eq for OutboxRecord
Source§impl PartialEq for OutboxRecord
impl PartialEq 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.