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