pub fn serialize<T, S>(d: &T, s: S) -> Result<S::Ok, S::Error>where for<'a> Wrap<&'a T>: Serialize, S: Serializer,