pub struct ValidatorConfig {
pub auto_validate: bool,
pub min_validation_interval: Duration,
pub max_issues: usize,
pub severity_threshold: ValidationSeverity,
pub enable_performance_hints: bool,
pub enable_accessibility_checks: bool,
pub enable_spec_compliance: bool,
pub enable_unicode_checks: bool,
}Expand description
Configuration for the lazy validator
Fields§
§auto_validate: boolEnable automatic validation after document changes
min_validation_interval: DurationAvailable on crate feature
std only.Minimum time between validations
max_issues: usizeMaximum number of issues to report
severity_threshold: ValidationSeveritySeverity threshold for reporting issues
enable_performance_hints: boolEnable specific validation rules
enable_accessibility_checks: bool§enable_spec_compliance: bool§enable_unicode_checks: boolTrait Implementations§
Source§impl Clone for ValidatorConfig
impl Clone for ValidatorConfig
Source§fn clone(&self) -> ValidatorConfig
fn clone(&self) -> ValidatorConfig
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 ValidatorConfig
impl Debug for ValidatorConfig
Auto Trait Implementations§
impl Freeze for ValidatorConfig
impl RefUnwindSafe for ValidatorConfig
impl Send for ValidatorConfig
impl Sync for ValidatorConfig
impl Unpin for ValidatorConfig
impl UnwindSafe for ValidatorConfig
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