pub trait RuleValidator: Send + Sync {
// Required method
fn validate(&self, rule: &SharedRule) -> Result<ValidationReport>;
}Expand description
Trait for rule validation functionality
Required Methods§
Sourcefn validate(&self, rule: &SharedRule) -> Result<ValidationReport>
fn validate(&self, rule: &SharedRule) -> Result<ValidationReport>
Validate a rule and return a validation report