pub struct SkillSandbox {
pub profile: SandboxProfile,
pub cwd_policy: Option<CwdPolicy>,
pub env_allowlist: Option<Vec<String>>,
pub network: Option<bool>,
pub writable_paths: Vec<String>,
pub require_enforcement: Option<bool>,
pub approved_escalation: Option<bool>,
pub raw: JsonObject,
}Fields§
§profile: SandboxProfile§cwd_policy: Option<CwdPolicy>§env_allowlist: Option<Vec<String>>§network: Option<bool>§writable_paths: Vec<String>§require_enforcement: Option<bool>§approved_escalation: Option<bool>§raw: JsonObjectTrait Implementations§
Source§impl Clone for SkillSandbox
impl Clone for SkillSandbox
Source§fn clone(&self) -> SkillSandbox
fn clone(&self) -> SkillSandbox
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 SkillSandbox
impl Debug for SkillSandbox
Source§impl<'de> Deserialize<'de> for SkillSandbox
impl<'de> Deserialize<'de> for SkillSandbox
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 SkillSandbox
impl PartialEq for SkillSandbox
Source§fn eq(&self, other: &SkillSandbox) -> bool
fn eq(&self, other: &SkillSandbox) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SkillSandbox
impl Serialize for SkillSandbox
impl StructuralPartialEq for SkillSandbox
Auto Trait Implementations§
impl Freeze for SkillSandbox
impl RefUnwindSafe for SkillSandbox
impl Send for SkillSandbox
impl Sync for SkillSandbox
impl Unpin for SkillSandbox
impl UnsafeUnpin for SkillSandbox
impl UnwindSafe for SkillSandbox
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