Struct tauri_utils::config::ShellAllowlistScope
source · pub struct ShellAllowlistScope(pub Vec<ShellAllowedCommand>);
Expand description
Shell scope definition. It is a list of command names and associated CLI arguments that restrict the API access from the webview.
Tuple Fields§
§0: Vec<ShellAllowedCommand>
Trait Implementations§
source§impl Clone for ShellAllowlistScope
impl Clone for ShellAllowlistScope
source§fn clone(&self) -> ShellAllowlistScope
fn clone(&self) -> ShellAllowlistScope
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 moresource§impl Debug for ShellAllowlistScope
impl Debug for ShellAllowlistScope
source§impl Default for ShellAllowlistScope
impl Default for ShellAllowlistScope
source§fn default() -> ShellAllowlistScope
fn default() -> ShellAllowlistScope
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ShellAllowlistScope
impl<'de> Deserialize<'de> for ShellAllowlistScope
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ShellAllowlistScope
impl PartialEq for ShellAllowlistScope
source§impl Serialize for ShellAllowlistScope
impl Serialize for ShellAllowlistScope
impl Eq for ShellAllowlistScope
impl StructuralPartialEq for ShellAllowlistScope
Auto Trait Implementations§
impl Freeze for ShellAllowlistScope
impl RefUnwindSafe for ShellAllowlistScope
impl Send for ShellAllowlistScope
impl Sync for ShellAllowlistScope
impl Unpin for ShellAllowlistScope
impl UnwindSafe for ShellAllowlistScope
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.