Struct tauri_utils::acl::resolved::ResolvedCommand   
source · 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: ExecutionContextThe execution context of this command.
referenced_by: ResolvedCommandReferenceThe 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
source§fn eq(&self, other: &ResolvedCommand) -> bool
 
fn eq(&self, other: &ResolvedCommand) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.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<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.