Function serde_with::rust::hashmap_as_tuple_list::serialize [−][src]
pub fn serialize<K, V, S, BH>(
map: &HashMap<K, V, BH>,
serializer: S
) -> Result<S::Ok, S::Error> where
S: Serializer,
K: Eq + Hash + Serialize,
V: Serialize,
BH: BuildHasher,
Serialize the HashMap
as a list of tuples