pub struct IdempotencyKey<'h>(/* private fields */);Expand description
A validated Idempotency-Key value.
Debug hides the value so the key does not reach logs through a derived Debug.
Implementations§
Trait Implementations§
Source§impl<'h> Clone for IdempotencyKey<'h>
impl<'h> Clone for IdempotencyKey<'h>
impl<'h> Copy for IdempotencyKey<'h>
Source§impl Debug for IdempotencyKey<'_>
impl Debug for IdempotencyKey<'_>
impl<'h> Eq for IdempotencyKey<'h>
Source§impl<'h> Hash for IdempotencyKey<'h>
impl<'h> Hash for IdempotencyKey<'h>
Source§impl<'h> PartialEq for IdempotencyKey<'h>
impl<'h> PartialEq for IdempotencyKey<'h>
impl<'h> StructuralPartialEq for IdempotencyKey<'h>
Auto Trait Implementations§
impl<'h> Freeze for IdempotencyKey<'h>
impl<'h> RefUnwindSafe for IdempotencyKey<'h>
impl<'h> Send for IdempotencyKey<'h>
impl<'h> Sync for IdempotencyKey<'h>
impl<'h> Unpin for IdempotencyKey<'h>
impl<'h> UnsafeUnpin for IdempotencyKey<'h>
impl<'h> UnwindSafe for IdempotencyKey<'h>
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> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<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.