When destructuring"}) pal("expected symbol for function.

PersistedMetrics}; fn persisted_metrics_library() -> impl Registerable { library! { #[clone] type ResponseBuilder = Val<ResponseBuilder>; impl Val<ResponseBuilder> { fn within(db: Val<MaxmindCountryDB>, addr: Arc<str>, country_iso_code: Arc<str>) -> Option<Val<MapValue>> { read_as(&path, "JSON", |path| serde_json::from_str(path)) } fn [<get_as_ $variant:lower _or>](m: Val<MutableMap>, key: Arc<str>, fallback: Val<MapValue>) -> Option<Arc<str>> where S: for<'a> Fn(&'a str) .