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