pub struct OperationAck {
pub operation_id: OperationId,
pub event_id: EventId,
pub lineage: LineageContext,
pub entity_version: EntityVersion,
pub sequence: Sequence,
pub duplicate: bool,
}Expand description
Result retained by the server operation ledger and returned for retries.
Fields§
§operation_id: OperationIdOperation that produced this acknowledgement.
event_id: EventIdStable authoritative event returned for both first execution and duplicate replay.
lineage: LineageContextOriginal retry-stable operation lineage retained by the idempotency ledger.
entity_version: EntityVersionResulting authoritative entity version.
sequence: SequenceJournal sequence produced by the operation.
duplicate: boolTrue when this response was replayed from the idempotency ledger.
Trait Implementations§
Source§impl Clone for OperationAck
impl Clone for OperationAck
Source§fn clone(&self) -> OperationAck
fn clone(&self) -> OperationAck
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 OperationAck
impl Debug for OperationAck
Source§impl<'de> Deserialize<'de> for OperationAck
impl<'de> Deserialize<'de> for OperationAck
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 OperationAck
Source§impl PartialEq for OperationAck
impl PartialEq for OperationAck
Source§impl Serialize for OperationAck
impl Serialize for OperationAck
impl StructuralPartialEq for OperationAck
Auto Trait Implementations§
impl Freeze for OperationAck
impl RefUnwindSafe for OperationAck
impl Send for OperationAck
impl Sync for OperationAck
impl Unpin for OperationAck
impl UnsafeUnpin for OperationAck
impl UnwindSafe for OperationAck
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