pub struct Resolved {
pub allowed_commands: BTreeMap<String, Vec<ResolvedCommand>>,
pub denied_commands: BTreeMap<String, Vec<ResolvedCommand>>,
pub command_scope: BTreeMap<ScopeKey, ResolvedScope>,
pub global_scope: BTreeMap<String, ResolvedScope>,
}
Expand description
Resolved access control list.
Fields§
§allowed_commands: BTreeMap<String, Vec<ResolvedCommand>>
The commands that are allowed. Map each command with its context to a ResolvedCommand
.
denied_commands: BTreeMap<String, Vec<ResolvedCommand>>
The commands that are denied. Map each command with its context to a ResolvedCommand
.
command_scope: BTreeMap<ScopeKey, ResolvedScope>
The store of scopes referenced by a ResolvedCommand
.
global_scope: BTreeMap<String, ResolvedScope>
The global scope.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Resolved
impl RefUnwindSafe for Resolved
impl Send for Resolved
impl Sync for Resolved
impl Unpin for Resolved
impl UnwindSafe for Resolved
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