pub fn deserialize<'de, T, D>(deserializer: D) -> Result<T, D::Error>where
T: Deserialize<'de>,
D: Deserializer<'de>,
Expand description
Deserialize a list of one item and return that item.
pub fn deserialize<'de, T, D>(deserializer: D) -> Result<T, D::Error>where
T: Deserialize<'de>,
D: Deserializer<'de>,
Deserialize a list of one item and return that item.