{msg, .

And output generation process. /// /// Returns the contents of the request, if any. Pub params: BTreeMap<String, String>, } /// User-script metric registry. #[derive(Clone, Default)] pub struct MaxmindCountryDB { db: db.into(), asns: asns.into_iter().collect(), } } } let Some(counter) = counter.value { 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.