pub enum ShellPermissionRule {
Exact {
command: String,
},
Prefix {
prefix: String,
},
Wildcard {
pattern: String,
},
}Expand description
Parsed permission rule.
Variants§
Trait Implementations§
Source§impl Clone for ShellPermissionRule
impl Clone for ShellPermissionRule
Source§fn clone(&self) -> ShellPermissionRule
fn clone(&self) -> ShellPermissionRule
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ShellPermissionRule
impl RefUnwindSafe for ShellPermissionRule
impl Send for ShellPermissionRule
impl Sync for ShellPermissionRule
impl Unpin for ShellPermissionRule
impl UnsafeUnpin for ShellPermissionRule
impl UnwindSafe for ShellPermissionRule
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