pub struct AdditionalFileSystemPermissions {
pub entries: Option<Vec<FileSystemSandboxEntry>>,
pub glob_scan_max_depth: Option<NonZeroU32>,
pub read: Option<Vec<LegacyAppPathString>>,
pub write: Option<Vec<LegacyAppPathString>>,
}Expand description
AdditionalFileSystemPermissions
JSON schema
{
"type": "object",
"properties": {
"entries": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/FileSystemSandboxEntry"
}
},
"globScanMaxDepth": {
"type": [
"integer",
"null"
],
"format": "uint",
"minimum": 1.0
},
"read": {
"description": "This will be removed in favor of `entries`.",
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/LegacyAppPathString"
}
},
"write": {
"description": "This will be removed in favor of `entries`.",
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/LegacyAppPathString"
}
}
}
}Fields§
§entries: Option<Vec<FileSystemSandboxEntry>>§glob_scan_max_depth: Option<NonZeroU32>§read: Option<Vec<LegacyAppPathString>>This will be removed in favor of entries.
write: Option<Vec<LegacyAppPathString>>This will be removed in favor of entries.
Trait Implementations§
Source§impl Clone for AdditionalFileSystemPermissions
impl Clone for AdditionalFileSystemPermissions
Source§fn clone(&self) -> AdditionalFileSystemPermissions
fn clone(&self) -> AdditionalFileSystemPermissions
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<'de> Deserialize<'de> for AdditionalFileSystemPermissions
impl<'de> Deserialize<'de> for AdditionalFileSystemPermissions
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 AdditionalFileSystemPermissions
impl RefUnwindSafe for AdditionalFileSystemPermissions
impl Send for AdditionalFileSystemPermissions
impl Sync for AdditionalFileSystemPermissions
impl Unpin for AdditionalFileSystemPermissions
impl UnsafeUnpin for AdditionalFileSystemPermissions
impl UnwindSafe for AdditionalFileSystemPermissions
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