Function hyper_serde::deserialize
source ยท pub fn deserialize<'de, T, D>(deserializer: D) -> Result<T, D::Error>
Expand description
Deserialises a T
value with a given deserializer.
This is useful to deserialize Hyper types used in structure fields or
tuple members with #[serde(deserialize_with = "hyper_serde::deserialize")]
.