struct {type_name}({vis}{inner_type_name}); impl {local}DeepMerge for {type_name} {{ fn merge_from(&mut self, other: Self) {{ {local}DeepMerge::merge_from(&mut self.0, other.0); }} }} impl<'de> {local}serde::Deserialize<'de> for {type_name} {{ fn deserialize(deserializer: D) -> Result where D: {local}serde::Deserializer<'de> {{ struct Visitor; impl<'de> {local}serde::de::Visitor<'de> for Visitor {{ type Value = {type_name}; fn expecting(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {{ f.write_str({type_name:?}) }} fn visit_newtype_struct(self, deserializer: D) -> Result where D: {local}serde::Deserializer<'de> {{ Ok({type_name}({local}serde::Deserialize::deserialize(deserializer)?)) }} }} deserializer.deserialize_newtype_struct({type_name:?}, Visitor) }} }} impl {local}serde::Serialize for {type_name} {{ fn serialize(&self, serializer: S) -> Result where S: {local}serde::Serializer {{ serializer.serialize_newtype_struct({type_name:?}, {inner_value}) }} }}