pub fn from_str<'a, T>(s: &'a str) -> Result<T, Error>where T: Deserialize<'a>,
Deserialize from a string.