quick_xml::de

Function from_str

Source
pub fn from_str<'de, T>(s: &'de str) -> Result<T, DeError>
where T: Deserialize<'de>,
Available on crate feature serialize only.
Expand description

Deserialize an instance of type T from a string of XML text.