pub fn serialize<T, S>(value: &T, serializer: S) -> Result<S::Ok, S::Error> where
    T: Serialize,
    S: Serializer
👎 Deprecated:

This function does nothing. Remove the attribute. Serde’s default behavior is to use the first value when deserializing a set.

Expand description

Serialize the set with the default serializer