pub fn serialize_ordered_set<T: Ord + Serialize, S: Serializer>( value: &HashSet<T>, serializer: S) -> Result<S::Ok, S::Error>