Skip to main content

impl_rule_config_sections

Macro impl_rule_config_sections 

Source
macro_rules! impl_rule_config_sections {
    ($config_ty:ty) => { ... };
}
Expand description

Implements default_config_section and config_schema for a rule backed by a serde RuleConfig struct. Use inside the rule’s impl Rule block. Rules that also want the derived from_config use [impl_rule_config_methods].