pub struct SandboxConfigUserPolicyFilesystem {
pub clear_policy_on_exit: Option<bool>,
pub denied_paths: Option<Vec<String>>,
pub readonly_paths: Option<Vec<String>>,
pub readwrite_paths: Option<Vec<String>>,
}Expand description
Filesystem rules to merge into the base policy.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§clear_policy_on_exit: Option<bool>Whether to clear the policy when the session exits.
denied_paths: Option<Vec<String>>Paths explicitly denied.
readonly_paths: Option<Vec<String>>Paths granted read-only access.
readwrite_paths: Option<Vec<String>>Paths granted read/write access.
Trait Implementations§
Source§impl Clone for SandboxConfigUserPolicyFilesystem
impl Clone for SandboxConfigUserPolicyFilesystem
Source§fn clone(&self) -> SandboxConfigUserPolicyFilesystem
fn clone(&self) -> SandboxConfigUserPolicyFilesystem
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 Default for SandboxConfigUserPolicyFilesystem
impl Default for SandboxConfigUserPolicyFilesystem
Source§fn default() -> SandboxConfigUserPolicyFilesystem
fn default() -> SandboxConfigUserPolicyFilesystem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SandboxConfigUserPolicyFilesystem
impl<'de> Deserialize<'de> for SandboxConfigUserPolicyFilesystem
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 SandboxConfigUserPolicyFilesystem
impl RefUnwindSafe for SandboxConfigUserPolicyFilesystem
impl Send for SandboxConfigUserPolicyFilesystem
impl Sync for SandboxConfigUserPolicyFilesystem
impl Unpin for SandboxConfigUserPolicyFilesystem
impl UnsafeUnpin for SandboxConfigUserPolicyFilesystem
impl UnwindSafe for SandboxConfigUserPolicyFilesystem
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