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
sourceimpl Clone for ShellAllowlistScope
impl Clone for ShellAllowlistScope
sourcefn clone(&self) -> ShellAllowlistScope
fn clone(&self) -> ShellAllowlistScope
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 moresourceimpl Debug for ShellAllowlistScope
impl Debug for ShellAllowlistScope
sourceimpl Default for ShellAllowlistScope
impl Default for ShellAllowlistScope
sourcefn default() -> ShellAllowlistScope
fn default() -> ShellAllowlistScope
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ShellAllowlistScope
impl<'de> Deserialize<'de> for ShellAllowlistScope
sourcefn 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
sourceimpl PartialEq<ShellAllowlistScope> for ShellAllowlistScope
impl PartialEq<ShellAllowlistScope> for ShellAllowlistScope
sourcefn eq(&self, other: &ShellAllowlistScope) -> bool
fn eq(&self, other: &ShellAllowlistScope) -> bool
sourceimpl Serialize for ShellAllowlistScope
impl Serialize for ShellAllowlistScope
impl Eq for ShellAllowlistScope
impl StructuralEq for ShellAllowlistScope
impl StructuralPartialEq for ShellAllowlistScope
Auto Trait Implementations
impl RefUnwindSafe for ShellAllowlistScope
impl Send for ShellAllowlistScope
impl Sync for ShellAllowlistScope
impl Unpin for ShellAllowlistScope
impl UnwindSafe for ShellAllowlistScope
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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