Skip to main content

decode_structured_output

Function decode_structured_output 

Source
pub fn decode_structured_output<T>(
    scenario: &'static str,
    response: &str,
) -> Result<T, ScenarioError>
Available on crate feature test-utils only.
Expand description

Decode a structured-output response with a typed conformance failure that retains the scenario name and raw response.