Skip to main content

serialize

Function serialize 

Source
pub fn serialize<S, K, V>(
    items: &[(K, V)],
    serializer: S,
) -> Result<S::Ok, S::Error>
where S: Serializer, K: Serialize, V: Serialize,
Expand description

Serializes items as map entries, preserving their order.