Struct tauri_utils::acl::resolved::Resolved
source · pub struct Resolved {
pub acl: BTreeMap<String, Manifest>,
pub allowed_commands: BTreeMap<CommandKey, ResolvedCommand>,
pub denied_commands: BTreeMap<CommandKey, ResolvedCommand>,
pub command_scope: BTreeMap<ScopeKey, ResolvedScope>,
pub global_scope: BTreeMap<String, ResolvedScope>,
}Expand description
Resolved access control list.
Fields§
§acl: BTreeMap<String, Manifest>ACL plugin manifests.
allowed_commands: BTreeMap<CommandKey, ResolvedCommand>The commands that are allowed. Map each command with its context to a ResolvedCommand.
denied_commands: BTreeMap<CommandKey, 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 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