Skip to main content

render_config_rule

Function render_config_rule 

Source
pub fn render_config_rule(
    config: Value,
    rule_name: &str,
) -> Result<String, RenderError>
Expand description

Compiles a parsed configuration root value and renders one rule.

This is a one-shot helper around RuleSet::from_config and RuleSet::render_rule. Use RuleSet directly for repeated renders.