custom_rule

Function custom_rule 

Source
pub fn custom_rule<F>(
    code: impl Into<RuleCode>,
    severity: Severity,
    message: impl Into<String>,
    step_fn: F,
) -> CustomRule<F>
Expand description

Create a custom stateful rule.