pub struct FsWriteRestrictionConfig {
pub allow_paths: Vec<PathBuf>,
pub allow_patterns: Vec<String>,
pub deny_paths: Vec<PathBuf>,
pub deny_patterns: Vec<String>,
}Expand description
Processed filesystem write restriction configuration.
Fields§
§allow_paths: Vec<PathBuf>Paths allowed for writing.
allow_patterns: Vec<String>Glob patterns allowed for writing.
deny_paths: Vec<PathBuf>Paths denied for writing (overrides allow).
deny_patterns: Vec<String>Glob patterns denied for writing.
Trait Implementations§
Source§impl Clone for FsWriteRestrictionConfig
impl Clone for FsWriteRestrictionConfig
Source§fn clone(&self) -> FsWriteRestrictionConfig
fn clone(&self) -> FsWriteRestrictionConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 FsWriteRestrictionConfig
impl Debug for FsWriteRestrictionConfig
Source§impl Default for FsWriteRestrictionConfig
impl Default for FsWriteRestrictionConfig
Source§fn default() -> FsWriteRestrictionConfig
fn default() -> FsWriteRestrictionConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FsWriteRestrictionConfig
impl RefUnwindSafe for FsWriteRestrictionConfig
impl Send for FsWriteRestrictionConfig
impl Sync for FsWriteRestrictionConfig
impl Unpin for FsWriteRestrictionConfig
impl UnwindSafe for FsWriteRestrictionConfig
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