Function matrix_sdk_test::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.