Enum tauri::scope::ShellScopeAllowedArg
source · [−]Expand description
A configured argument to a scoped shell command.
Variants
Fixed(String)
A non-configurable argument.
Var
Fields
validator: Regex
The validation that the variable value must pass in order to be called.
An argument with a value to be evaluated at runtime, must pass a regex validation.
Implementations
Trait Implementations
sourceimpl Clone for ScopeAllowedArg
impl Clone for ScopeAllowedArg
sourcefn clone(&self) -> ScopeAllowedArg
fn clone(&self) -> ScopeAllowedArg
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 ScopeAllowedArg
impl Send for ScopeAllowedArg
impl Sync for ScopeAllowedArg
impl Unpin for ScopeAllowedArg
impl UnwindSafe for ScopeAllowedArg
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