Function mz_ore::serde::map_key_to_string
source ยท pub fn map_key_to_string<'a, I, K, V, S>(
map: I,
serializer: S,
) -> Result<S::Ok, S::Error>
Expand description
Used to serialize fields of Maps whose key type is not a native string. Annotate the field with
#[serde(serialize_with = mz_ore::serde::map_key_to_string)]
.