pub fn deserialize_count<'de, D: Deserializer<'de>>(
deserializer: D,
) -> Result<Option<u64>, D::Error>Expand description
Deserializes a count that the API renders either as a number or as a
decimal string ("42"); anything else becomes None.
§Errors
Returns the deserializer’s error when the value is not valid JSON.