pub struct MockRuleValidator;Expand description
Mock RuleValidator for testing
Trait Implementations§
Source§impl RuleValidator for MockRuleValidator
impl RuleValidator for MockRuleValidator
Source§fn validate(&self, rule: &SharedRule) -> Result<ValidationReport>
fn validate(&self, rule: &SharedRule) -> Result<ValidationReport>
Validate a rule and return a validation report
Auto Trait Implementations§
impl Freeze for MockRuleValidator
impl RefUnwindSafe for MockRuleValidator
impl Send for MockRuleValidator
impl Sync for MockRuleValidator
impl Unpin for MockRuleValidator
impl UnwindSafe for MockRuleValidator
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