{ methods.add_method("contains_item", .
"sum(qmk_ruleset_hits{job=\"$instance\", outcome=\"garbage\"}) / sum(qmk_ruleset_hits{job=\"$instance\"})", "format": "time_series", "instant": false, "legendFormat": "Reject", "range": true, "refId": "Reject" } ], "title": "Firewalled", "type": "stat" }, { "matcher": { "id": "color", "value": { "fixedColor": "yellow", "mode": "fixed" } } } }; Some(Global::Matcher(matcher).into()) } fn from_ip_prefixes(prefixes: Val<StringList>) -> Option<Val<Global>> .