pub struct SandboxWorkspaceWrite {
pub exclude_slash_tmp: bool,
pub exclude_tmpdir_env_var: bool,
pub network_access: bool,
pub writable_roots: Vec<String>,
}Expand description
SandboxWorkspaceWrite
JSON schema
{
"type": "object",
"properties": {
"exclude_slash_tmp": {
"default": false,
"type": "boolean"
},
"exclude_tmpdir_env_var": {
"default": false,
"type": "boolean"
},
"network_access": {
"default": false,
"type": "boolean"
},
"writable_roots": {
"default": [],
"type": "array",
"items": {
"type": "string"
}
}
}
}Fields§
§exclude_slash_tmp: bool§exclude_tmpdir_env_var: bool§network_access: bool§writable_roots: Vec<String>Trait Implementations§
Source§impl Clone for SandboxWorkspaceWrite
impl Clone for SandboxWorkspaceWrite
Source§fn clone(&self) -> SandboxWorkspaceWrite
fn clone(&self) -> SandboxWorkspaceWrite
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 SandboxWorkspaceWrite
impl Debug for SandboxWorkspaceWrite
Source§impl Default for SandboxWorkspaceWrite
impl Default for SandboxWorkspaceWrite
Source§impl<'de> Deserialize<'de> for SandboxWorkspaceWrite
impl<'de> Deserialize<'de> for SandboxWorkspaceWrite
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
Auto Trait Implementations§
impl Freeze for SandboxWorkspaceWrite
impl RefUnwindSafe for SandboxWorkspaceWrite
impl Send for SandboxWorkspaceWrite
impl Sync for SandboxWorkspaceWrite
impl Unpin for SandboxWorkspaceWrite
impl UnsafeUnpin for SandboxWorkspaceWrite
impl UnwindSafe for SandboxWorkspaceWrite
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