pub fn deserialize<'de, T, D>(
deserializer: D,
) -> Result<T, <D as Deserializer<'de>>::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 as Deserializer<'de>>::Error>where
T: Deserialize<'de>,
D: Deserializer<'de>,
Deserialize a list of one item and return that item.