Function mz_ore::serde::string_key_to_btree_map
source ยท pub fn string_key_to_btree_map<'de, K, V, D>(
deserializer: D,
) -> Result<BTreeMap<K, V>, D::Error>
Expand description
Used to deserialize fields of std::collections::BTreeMap
whose key type is not a native
string. Annotate the field with
#[serde(deserialize_with = "mz_ore::serde::string_key_to_btree_map")]
.