Struct tauri::scope::ShellScopeAllowedCommand
source · [−]pub struct ShellScopeAllowedCommand {
pub command: PathBuf,
pub args: Option<Vec<ScopeAllowedArg>>,
pub sidecar: bool,
}
Expand description
A configured scoped shell command.
Fields
command: PathBuf
The shell command to be called.
args: Option<Vec<ScopeAllowedArg>>
The arguments the command is allowed to be called with.
sidecar: bool
If this command is a sidecar command.
Trait Implementations
sourceimpl Clone for ScopeAllowedCommand
impl Clone for ScopeAllowedCommand
sourcefn clone(&self) -> ScopeAllowedCommand
fn clone(&self) -> ScopeAllowedCommand
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for ScopeAllowedCommand
impl Send for ScopeAllowedCommand
impl Sync for ScopeAllowedCommand
impl Unpin for ScopeAllowedCommand
impl UnwindSafe for ScopeAllowedCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more