pub struct IdempotencyId(/* private fields */);Expand description
A caller-generated 16-byte identifier for one logical mutation.
Reuse this value only when retrying the exact same operation and semantic
input. Reusing it for another request returns Error::Conflict.
Implementations§
Source§impl IdempotencyId
impl IdempotencyId
Trait Implementations§
Source§impl Clone for IdempotencyId
impl Clone for IdempotencyId
Source§fn clone(&self) -> IdempotencyId
fn clone(&self) -> IdempotencyId
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 moreimpl Copy for IdempotencyId
Source§impl Debug for IdempotencyId
impl Debug for IdempotencyId
Source§impl<'de> Deserialize<'de> for IdempotencyId
impl<'de> Deserialize<'de> for IdempotencyId
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 IdempotencyId
impl Display for IdempotencyId
impl Eq for IdempotencyId
Source§impl Hash for IdempotencyId
impl Hash for IdempotencyId
Source§impl PartialEq for IdempotencyId
impl PartialEq for IdempotencyId
Source§impl Serialize for IdempotencyId
impl Serialize for IdempotencyId
impl StructuralPartialEq for IdempotencyId
Auto Trait Implementations§
impl Freeze for IdempotencyId
impl RefUnwindSafe for IdempotencyId
impl Send for IdempotencyId
impl Sync for IdempotencyId
impl Unpin for IdempotencyId
impl UnsafeUnpin for IdempotencyId
impl UnwindSafe for IdempotencyId
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