pub struct CompiledPathRules {
pub allowed: Vec<(String, GlobMatcher)>,
pub blocked: Vec<(String, GlobMatcher)>,
}Expand description
Pre-compiled path rule glob matchers for a single policy.
Fields§
§allowed: Vec<(String, GlobMatcher)>§blocked: Vec<(String, GlobMatcher)>Trait Implementations§
Source§impl Clone for CompiledPathRules
impl Clone for CompiledPathRules
Source§fn clone(&self) -> CompiledPathRules
fn clone(&self) -> CompiledPathRules
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 moreAuto Trait Implementations§
impl Freeze for CompiledPathRules
impl RefUnwindSafe for CompiledPathRules
impl Send for CompiledPathRules
impl Sync for CompiledPathRules
impl Unpin for CompiledPathRules
impl UnsafeUnpin for CompiledPathRules
impl UnwindSafe for CompiledPathRules
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