pub struct AuthzEngine {
pub principal_lookup: Arc<dyn PrincipalLookup>,
pub resource_policy_lookups: HashMap<String, Arc<dyn ResourcePolicyLookup>>,
pub scp_lookup: Option<Arc<dyn ScpLookup>>,
pub enabled: bool,
}Fields§
§principal_lookup: Arc<dyn PrincipalLookup>§resource_policy_lookups: HashMap<String, Arc<dyn ResourcePolicyLookup>>§scp_lookup: Option<Arc<dyn ScpLookup>>§enabled: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuthzEngine
impl !RefUnwindSafe for AuthzEngine
impl Send for AuthzEngine
impl Sync for AuthzEngine
impl Unpin for AuthzEngine
impl UnsafeUnpin for AuthzEngine
impl !UnwindSafe for AuthzEngine
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