oa_gateway_uci::validate::rules

Function check

Source
fn check(
    node: &Node,
    schema: &Schema,
    type_name: &str,
    path: &str,
    depth: usize,
    out: &mut Vec<Violation>,
)
Expand description

Walks one node. Children are checked even when the parent already reported a violation, so a bad level does not hide the ones below.