pub fn from_slice<'de, T>(s: &'de [u8]) -> Result<T, DeError> where T: Deserialize<'de>,
Deserialize an instance of type T from bytes of XML text.
T