Struct tauri_utils::acl::resolved::ResolvedCommand
source · pub struct ResolvedCommand {
pub referenced_by: Vec<ResolvedCommandReference>,
pub windows: Vec<Pattern>,
pub webviews: Vec<Pattern>,
pub scope: Option<ScopeKey>,
}Expand description
A resolved command permission.
Fields§
§referenced_by: Vec<ResolvedCommandReference>The list of 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: 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 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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§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.