&state.instance_id, config)?; let persisted_metrics .

.map(|s| s.as_ref().to_owned()) .collect(), } } impl UserData for Matcher { fn serialize_as<S.