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§
source§impl Clone for ScopeAllowedCommand
impl Clone for ScopeAllowedCommand
source§fn clone(&self) -> ScopeAllowedCommand
fn clone(&self) -> ScopeAllowedCommand
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 more