mwapi_responses::query

Function deserialize_continue

Source
pub fn deserialize_continue<'de, D>(
    deserializer: D,
) -> Result<HashMap<String, String>, D::Error>
where D: Deserializer<'de>,
Expand description

The API:Querypage generator fails when trying to deserialize it as a string because the return value of continue contains a number. This deserializer also treats numbers as strings and deserializes them.