Function ruma::serde::single_element_seq::deserialize
source · [−]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.