Skip to main content

parse_rule

Function parse_rule 

Source
pub fn parse_rule(yaml: &str) -> Result<Rule, RuleError>
Expand description

Parse a single YAML string into a Rule, validating required fields.