logo
pub fn serialize<S, T>(vec: &Vec<T>, serializer: S) -> Result<S::Ok, S::Error> where
    S: Serializer,
    T: Serialize + Eq + Ord
Expand description

Serialize the given Vec<T> as a map of T => Empty.