pub struct OperationId(pub u64);Expand description
A unique operation identifier for exactly-once delivery.
Operation IDs are assigned by the client and carried in request metadata. They survive across disconnects — the operation store uses them to deduplicate and replay sealed responses after session resumption.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for OperationId
impl Clone for OperationId
Source§fn clone(&self) -> OperationId
fn clone(&self) -> OperationId
Returns a duplicate of the value. Read more
1.0.0 · 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 OperationId
impl Debug for OperationId
Source§impl Display for OperationId
impl Display for OperationId
Source§impl Hash for OperationId
impl Hash for OperationId
Source§impl Ord for OperationId
impl Ord for OperationId
Source§fn cmp(&self, other: &OperationId) -> Ordering
fn cmp(&self, other: &OperationId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OperationId
impl PartialEq for OperationId
Source§impl PartialOrd for OperationId
impl PartialOrd for OperationId
impl Copy for OperationId
impl Eq for OperationId
impl StructuralPartialEq for OperationId
Auto Trait Implementations§
impl Freeze for OperationId
impl RefUnwindSafe for OperationId
impl Send for OperationId
impl Sync for OperationId
impl Unpin for OperationId
impl UnsafeUnpin for OperationId
impl UnwindSafe for OperationId
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> Comparable<K> for Q
impl<Q, K> Comparable<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.