pub struct ReplayKey(pub Hash);Expand description
The replay key: auth v2 Authorized.scope,
BLAKE3(audience \n repository \n pubkey \n nonce).
Tuple Fields§
§0: HashTrait Implementations§
impl Eq for ReplayKey
Source§impl Ord for ReplayKey
impl Ord for ReplayKey
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 PartialOrd for ReplayKey
impl PartialOrd for ReplayKey
impl StructuralPartialEq for ReplayKey
Auto Trait Implementations§
impl Freeze for ReplayKey
impl RefUnwindSafe for ReplayKey
impl Send for ReplayKey
impl Sync for ReplayKey
impl Unpin for ReplayKey
impl UnsafeUnpin for ReplayKey
impl UnwindSafe for ReplayKey
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