pub struct OutboxClaim {
pub message_id: [u8; 16],
pub idempotency_key: String,
pub schema_version: u32,
pub payload: Value,
pub lease_token: [u8; 16],
pub lease_expires_at: DateTime<Utc>,
pub attempt: u32,
}Expand description
One durable lease returned only after its claim transaction commits.
Fields§
§message_id: [u8; 16]§idempotency_key: String§schema_version: u32§payload: Value§lease_token: [u8; 16]§lease_expires_at: DateTime<Utc>§attempt: u32Trait Implementations§
Source§impl Clone for OutboxClaim
impl Clone for OutboxClaim
Source§fn clone(&self) -> OutboxClaim
fn clone(&self) -> OutboxClaim
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 OutboxClaim
impl Debug for OutboxClaim
Source§impl PartialEq for OutboxClaim
impl PartialEq for OutboxClaim
impl StructuralPartialEq for OutboxClaim
Auto Trait Implementations§
impl Freeze for OutboxClaim
impl RefUnwindSafe for OutboxClaim
impl Send for OutboxClaim
impl Sync for OutboxClaim
impl Unpin for OutboxClaim
impl UnsafeUnpin for OutboxClaim
impl UnwindSafe for OutboxClaim
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