pub struct ValidationConfig {
pub max_patterns: usize,
pub max_pattern_length: usize,
pub max_glob_depth: usize,
pub allow_empty_patterns: bool,
pub validate_path_existence: bool,
pub check_conflicts: bool,
pub max_validation_time_ms: u64,
}Expand description
Configuration for pattern validation
Fields§
§max_patterns: usizeMaximum number of patterns allowed
max_pattern_length: usizeMaximum pattern length
max_glob_depth: usizeMaximum nesting depth for glob patterns
allow_empty_patterns: boolWhether to allow empty patterns
validate_path_existence: boolWhether to validate paths exist
check_conflicts: boolWhether to check for pattern conflicts
max_validation_time_ms: u64Maximum time to spend on validation (milliseconds)
Trait Implementations§
Source§impl Clone for ValidationConfig
impl Clone for ValidationConfig
Source§fn clone(&self) -> ValidationConfig
fn clone(&self) -> ValidationConfig
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 ValidationConfig
impl Debug for ValidationConfig
Auto Trait Implementations§
impl Freeze for ValidationConfig
impl RefUnwindSafe for ValidationConfig
impl Send for ValidationConfig
impl Sync for ValidationConfig
impl Unpin for ValidationConfig
impl UnwindSafe for ValidationConfig
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