pub struct SettlementAttemptClaim {
pub receipt_id: String,
pub finalized_at: u64,
pub attempts: u32,
pub row_version: u64,
pub lease_owner: String,
pub lease_token: String,
pub lease_until_ms: u64,
}Expand description
Persisted row and lease state required to commit a settlement transition.
Fields§
§receipt_id: StringReceipt bound to the claimed row.
finalized_at: u64Receipt finalization timestamp persisted with the row.
attempts: u32Completed hook invocations persisted before this claim.
row_version: u64Version incremented when the claim was acquired.
lease_owner: StringWorker that owns the lease.
lease_token: StringUnpredictable token required by the outcome CAS.
lease_until_ms: u64Exclusive lease deadline in milliseconds.
Trait Implementations§
Source§impl Clone for SettlementAttemptClaim
impl Clone for SettlementAttemptClaim
Source§fn clone(&self) -> SettlementAttemptClaim
fn clone(&self) -> SettlementAttemptClaim
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 SettlementAttemptClaim
impl Debug for SettlementAttemptClaim
impl Eq for SettlementAttemptClaim
Source§impl PartialEq for SettlementAttemptClaim
impl PartialEq for SettlementAttemptClaim
impl StructuralPartialEq for SettlementAttemptClaim
Auto Trait Implementations§
impl Freeze for SettlementAttemptClaim
impl RefUnwindSafe for SettlementAttemptClaim
impl Send for SettlementAttemptClaim
impl Sync for SettlementAttemptClaim
impl Unpin for SettlementAttemptClaim
impl UnsafeUnpin for SettlementAttemptClaim
impl UnwindSafe for SettlementAttemptClaim
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