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 Freeze for ResolvedScope
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
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
)