pub struct PathRule {
pub path_pattern: String,
pub is_directory: bool,
pub decision: Decision,
pub justification: Option<String>,
pub rule_type: RuleType,
}Expand description
Path rule for file/directory access control
Fields§
§path_pattern: StringPath pattern to match (supports wildcards)
is_directory: boolWhether this is a file or directory rule
decision: DecisionDecision for this path
justification: Option<String>Optional justification
rule_type: RuleTypeRule type
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathRule
impl RefUnwindSafe for PathRule
impl Send for PathRule
impl Sync for PathRule
impl Unpin for PathRule
impl UnsafeUnpin for PathRule
impl UnwindSafe for PathRule
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