Function serde_with::rust::tuple_list_as_map::serialize
source · [−]pub fn serialize<'a, I, K, V, S>(
iter: I,
serializer: S
) -> Result<S::Ok, S::Error> where
I: IntoIterator<Item = &'a (K, V)>,
I::IntoIter: ExactSizeIterator,
K: Serialize + 'a,
V: Serialize + 'a,
S: Serializer,
Expand description
Serialize any iteration of tuples into a map.