You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: parse.rs
    path of file: ./repos/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/schema_gen
    
    the code of the file until where you have to start completion: /// Functions in this module are meant to parse the JSON result of mutation sent to the Query Engine
/// in order to extract the generated id(s).
use crate::TestError;
use itertools::Itertools
    
pub fn parse_id(field: &str, json: &serde_json::Value, path: &[&str], meta: &str) -> Result<String, TestError> {
    let mut path_with_field = path.to_vec();
    path_with_field.push(field);

    let value = walk_json(json, &path_with_field)?.to_string();

    Ok(format!("{{ {field}: {value}, {meta} }}"))
}