pub fn structify<T: DeserializeOwned, P: AsRef<Path>>( path: P, ) -> Result<T, Error>
Convert any file into a struct