Function serde_with::rust::map_as_tuple_list::serialize
source · [−]pub fn serialize<'a, T, K, V, S>(
map: T,
serializer: S
) -> Result<S::Ok, S::Error> where
S: Serializer,
T: IntoIterator<Item = (&'a K, &'a V)>,
T::IntoIter: ExactSizeIterator,
K: Serialize + 'a,
V: Serialize + 'a,
Expand description
Serialize the map as a list of tuples