matrix_sdk_test

Function ruma_response_from_json

Source
pub fn ruma_response_from_json<ResponseType: IncomingResponse>(
    json: &Value,
) -> ResponseType
Expand description

Build a typed Ruma IncomingResponse object from a json body.