pub struct RoleResolution<R> {
pub role: R,
pub contexts: Vec<String>,
}Expand description
Result of an ACL lookup. The handler propagates this opaquely into the JWT minter and audit event.
Fields§
§role: R§contexts: Vec<String>Context-scoped backends (VTA) populate this. Backends with flat ACL (did-hosting) leave it empty.
Implementations§
Source§impl<R> RoleResolution<R>
impl<R> RoleResolution<R>
Trait Implementations§
Source§impl<R: Clone> Clone for RoleResolution<R>
impl<R: Clone> Clone for RoleResolution<R>
Source§fn clone(&self) -> RoleResolution<R>
fn clone(&self) -> RoleResolution<R>
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 moreAuto Trait Implementations§
impl<R> Freeze for RoleResolution<R>where
R: Freeze,
impl<R> RefUnwindSafe for RoleResolution<R>where
R: RefUnwindSafe,
impl<R> Send for RoleResolution<R>where
R: Send,
impl<R> Sync for RoleResolution<R>where
R: Sync,
impl<R> Unpin for RoleResolution<R>where
R: Unpin,
impl<R> UnsafeUnpin for RoleResolution<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for RoleResolution<R>where
R: UnwindSafe,
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