pub enum ProtectedResourceAuthentication {
Authenticated(AuthenticatedPrincipal),
Rejected(ServiceResponse),
}Variants§
Authenticated(AuthenticatedPrincipal)
Rejected(ServiceResponse)
Trait Implementations§
impl StructuralPartialEq for ProtectedResourceAuthentication
Auto Trait Implementations§
impl Freeze for ProtectedResourceAuthentication
impl RefUnwindSafe for ProtectedResourceAuthentication
impl Send for ProtectedResourceAuthentication
impl Sync for ProtectedResourceAuthentication
impl Unpin for ProtectedResourceAuthentication
impl UnsafeUnpin for ProtectedResourceAuthentication
impl UnwindSafe for ProtectedResourceAuthentication
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