pub struct PrincipalSubjectMapper;Expand description
Principal-only subject mapper for applications that already encode tenancy in keepsake subject identifiers.
Trait Implementations§
Source§impl Clone for PrincipalSubjectMapper
impl Clone for PrincipalSubjectMapper
Source§fn clone(&self) -> PrincipalSubjectMapper
fn clone(&self) -> PrincipalSubjectMapper
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 moreimpl Copy for PrincipalSubjectMapper
Source§impl Debug for PrincipalSubjectMapper
impl Debug for PrincipalSubjectMapper
Source§impl Default for PrincipalSubjectMapper
impl Default for PrincipalSubjectMapper
Source§fn default() -> PrincipalSubjectMapper
fn default() -> PrincipalSubjectMapper
Returns the “default value” for a type. Read more
Source§impl SubjectMapper for PrincipalSubjectMapper
impl SubjectMapper for PrincipalSubjectMapper
Source§fn subject(&self, cx: &Context) -> Result<SubjectRef, KeepsakeError>
fn subject(&self, cx: &Context) -> Result<SubjectRef, KeepsakeError>
Builds the keepsake subject for this request. Read more
Auto Trait Implementations§
impl Freeze for PrincipalSubjectMapper
impl RefUnwindSafe for PrincipalSubjectMapper
impl Send for PrincipalSubjectMapper
impl Sync for PrincipalSubjectMapper
impl Unpin for PrincipalSubjectMapper
impl UnsafeUnpin for PrincipalSubjectMapper
impl UnwindSafe for PrincipalSubjectMapper
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