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 moreAuto Trait Implementations§
impl Freeze for ScopeAllowedCommand
impl RefUnwindSafe for ScopeAllowedCommand
impl Send for ScopeAllowedCommand
impl Sync for ScopeAllowedCommand
impl Unpin for ScopeAllowedCommand
impl UnwindSafe for ScopeAllowedCommand
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