pub struct ResolvedCommand {
pub context: ExecutionContext,
pub referenced_by: ResolvedCommandReference,
pub windows: Vec<Pattern>,
pub webviews: Vec<Pattern>,
pub scope_id: Option<ScopeKey>,
}
Expand description
A resolved command permission.
Fields§
§context: ExecutionContext
The execution context of this command.
referenced_by: ResolvedCommandReference
The capability/permission that referenced this command.
windows: Vec<Pattern>
The list of window label patterns that was resolved for this command.
webviews: Vec<Pattern>
The list of webview label patterns that was resolved for this command.
scope_id: Option<ScopeKey>
The reference of the scope that is associated with this command. See Resolved
.
Trait Implementations§
Source§impl Clone for ResolvedCommand
impl Clone for ResolvedCommand
Source§fn clone(&self) -> ResolvedCommand
fn clone(&self) -> ResolvedCommand
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ResolvedCommand
impl Debug for ResolvedCommand
Source§impl Default for ResolvedCommand
impl Default for ResolvedCommand
Source§fn default() -> ResolvedCommand
fn default() -> ResolvedCommand
Returns the “default value” for a type. Read more
Source§impl PartialEq for ResolvedCommand
impl PartialEq for ResolvedCommand
impl Eq for ResolvedCommand
impl StructuralPartialEq for ResolvedCommand
Auto Trait Implementations§
impl Freeze for ResolvedCommand
impl RefUnwindSafe for ResolvedCommand
impl Send for ResolvedCommand
impl Sync for ResolvedCommand
impl Unpin for ResolvedCommand
impl UnwindSafe for ResolvedCommand
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.