pub struct AuthnCacheKey { /* private fields */ }Expand description
Cache key for an authentication result.
The token is stored only as a SHA-256 hash — the raw token never appears in
the key. Debug redacts the hash to [hash] (ExtractedToken precedent).
Implementations§
Source§impl AuthnCacheKey
impl AuthnCacheKey
Trait Implementations§
Source§impl Clone for AuthnCacheKey
impl Clone for AuthnCacheKey
Source§fn clone(&self) -> AuthnCacheKey
fn clone(&self) -> AuthnCacheKey
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 moreSource§impl Debug for AuthnCacheKey
impl Debug for AuthnCacheKey
impl Eq for AuthnCacheKey
Source§impl Hash for AuthnCacheKey
impl Hash for AuthnCacheKey
Source§impl PartialEq for AuthnCacheKey
impl PartialEq for AuthnCacheKey
impl StructuralPartialEq for AuthnCacheKey
Auto Trait Implementations§
impl Freeze for AuthnCacheKey
impl RefUnwindSafe for AuthnCacheKey
impl Send for AuthnCacheKey
impl Sync for AuthnCacheKey
impl Unpin for AuthnCacheKey
impl UnsafeUnpin for AuthnCacheKey
impl UnwindSafe for AuthnCacheKey
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