Struct tauri_utils::acl::resolved::ResolvedScope
source · pub struct ResolvedScope {
pub allow: Vec<Value>,
pub deny: Vec<Value>,
}
Expand description
A resolved scope. Merges all scopes defined for a single command.
Fields§
§allow: Vec<Value>
Allows something on the command.
deny: Vec<Value>
Denies something on the command.
Trait Implementations§
source§impl Clone for ResolvedScope
impl Clone for ResolvedScope
source§fn clone(&self) -> ResolvedScope
fn clone(&self) -> ResolvedScope
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 ResolvedScope
impl Debug for ResolvedScope
source§impl Default for ResolvedScope
impl Default for ResolvedScope
source§fn default() -> ResolvedScope
fn default() -> ResolvedScope
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ResolvedScope
impl Send for ResolvedScope
impl Sync for ResolvedScope
impl Unpin for ResolvedScope
impl UnwindSafe for ResolvedScope
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