pub fn from_item<T>(d: Item) -> Result<T, Error> where T: Deserialize<'static>,
Convert an item into T.
T