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
Source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
Source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T.