pub struct OperationId(pub Uuid);Expand description
Stable UUID identifying a OperationId.
Tuple Fields§
§0: UuidUnderlying UUID.
Implementations§
Source§impl OperationId
impl OperationId
Source§impl OperationId
impl OperationId
Sourcepub fn is_time_ordered(&self) -> bool
pub fn is_time_ordered(&self) -> bool
Whether this is a version 7 UUID, the only form a client may supply as an idempotency key.
Trait Implementations§
Source§impl Clone for OperationId
impl Clone for OperationId
impl Copy for OperationId
Source§impl Debug for OperationId
impl Debug for OperationId
Source§impl Default for OperationId
impl Default for OperationId
Source§impl<'de> Deserialize<'de> for OperationId
impl<'de> Deserialize<'de> for OperationId
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
Source§impl Display for OperationId
impl Display for OperationId
impl Eq for OperationId
Source§impl FromStr for OperationId
impl FromStr for OperationId
Source§impl Hash for OperationId
impl Hash for OperationId
Source§impl Ord for OperationId
impl Ord for OperationId
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for OperationId
impl PartialEq for OperationId
Source§impl PartialOrd for OperationId
impl PartialOrd for OperationId
Source§impl Serialize for OperationId
impl Serialize 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