Table.get("output").ok(); let run_tests = table.get("run_tests").ok(); Ok(Self .
{ metric_map.insert("labels".to_owned(), Value::Object(labels)); metric_map.insert( "value".to_owned(), Value::Number( serde_json::Number::from_f64(counter).expect("counter is not f64"), ), ); metrics.push(Value::Object(metric_map)); } } } } fn as_asn_matcher(matcher: Val<Matcher>) -> Option<Val<MaxmindCountryDB>> { matcher.as_country_matcher().map(Val) } } pub fn as_binary(&self) -> Vec<u8> { self.0.clone() } #[must_use.