ruma::serde::single_element_seq

Function 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.