pub fn serialize<T, S>(v: &T, s: S) -> Result<S::Ok, S::Error>where T: Encodable + Clone, S: Serializer,