pub struct IdempotencyKey(/* private fields */);Expand description
A validated Idempotency-Key: non-empty, at most MAX_KEY_LEN bytes, and
visible ASCII only (0x21..=0x7E) so it cannot smuggle control characters or
whitespace into a header or a storage key.
Implementations§
Trait Implementations§
Source§impl Clone for IdempotencyKey
impl Clone for IdempotencyKey
Source§impl Debug for IdempotencyKey
impl Debug for IdempotencyKey
impl Eq for IdempotencyKey
Source§impl PartialEq for IdempotencyKey
impl PartialEq for IdempotencyKey
impl StructuralPartialEq for IdempotencyKey
Auto Trait Implementations§
impl Forget for IdempotencyKey
impl Freeze for IdempotencyKey
impl Move for IdempotencyKey
impl RefUnwindSafe for IdempotencyKey
impl Send for IdempotencyKeywhere
RawVecInner: Send,
impl Sync for IdempotencyKeywhere
RawVecInner: Sync,
impl Unpin for IdempotencyKey
impl UnsafeUnpin for IdempotencyKey
impl UnwindSafe for IdempotencyKeywhere
RawVecInner: UnwindSafe,
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