pub struct RequiredSandboxDeclaration {
pub profile: SandboxProfile,
pub cwd_policy: CwdPolicy,
pub env_allowlist: Option<Vec<String>>,
pub network: bool,
pub writable_paths: Vec<String>,
pub require_enforcement: bool,
}Fields§
§profile: SandboxProfile§cwd_policy: CwdPolicy§env_allowlist: Option<Vec<String>>§network: bool§writable_paths: Vec<String>§require_enforcement: boolTrait Implementations§
Source§impl Clone for RequiredSandboxDeclaration
impl Clone for RequiredSandboxDeclaration
Source§fn clone(&self) -> RequiredSandboxDeclaration
fn clone(&self) -> RequiredSandboxDeclaration
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RequiredSandboxDeclaration
impl Debug for RequiredSandboxDeclaration
Source§impl<'de> Deserialize<'de> for RequiredSandboxDeclaration
impl<'de> Deserialize<'de> for RequiredSandboxDeclaration
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
impl Eq for RequiredSandboxDeclaration
Source§impl PartialEq for RequiredSandboxDeclaration
impl PartialEq for RequiredSandboxDeclaration
Source§fn eq(&self, other: &RequiredSandboxDeclaration) -> bool
fn eq(&self, other: &RequiredSandboxDeclaration) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RequiredSandboxDeclaration
Auto Trait Implementations§
impl Freeze for RequiredSandboxDeclaration
impl RefUnwindSafe for RequiredSandboxDeclaration
impl Send for RequiredSandboxDeclaration
impl Sync for RequiredSandboxDeclaration
impl Unpin for RequiredSandboxDeclaration
impl UnsafeUnpin for RequiredSandboxDeclaration
impl UnwindSafe for RequiredSandboxDeclaration
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