pub struct SecurityContext(/* private fields */);Expand description
Opaque identity for authentication and authorization state.
Applications must issue a different value whenever credentials, subject, tenant, or other security-relevant context changes.
Implementations§
Trait Implementations§
Source§impl Clone for SecurityContext
impl Clone for SecurityContext
Source§impl Debug for SecurityContext
impl Debug for SecurityContext
impl Eq for SecurityContext
Source§impl Hash for SecurityContext
impl Hash for SecurityContext
Source§impl Ord for SecurityContext
impl Ord for SecurityContext
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 PartialEq for SecurityContext
impl PartialEq for SecurityContext
Source§impl PartialOrd for SecurityContext
impl PartialOrd for SecurityContext
impl StructuralPartialEq for SecurityContext
Auto Trait Implementations§
impl Freeze for SecurityContext
impl RefUnwindSafe for SecurityContext
impl Send for SecurityContext
impl Sync for SecurityContext
impl Unpin for SecurityContext
impl UnsafeUnpin for SecurityContext
impl UnwindSafe for SecurityContext
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