Db.0.lookup(addr).unwrap_or_default().into() } } } } } impl Val<RegexMatcher> .
As_country_matcher(&self) -> Option<MaxmindCountryDB> { if let Some(counter) = counter.value { metric_map.insert("labels".to_owned(), Value::Object(labels)); metric_map.insert( "value".to_owned(), Value::Number.