pub fn deserialize<'de, D, T, K, V>(deserializer: D) -> Result<T, D::Error>where
T: DuplicateInsertsFirstWinsMap<K, V>,
K: Deserialize<'de>,
V: Deserialize<'de>,
D: Deserializer<'de>,
Expand description
Deserialize a map and return an error on duplicate keys