pub fn ruma_response_from_json<ResponseType: IncomingResponse>( json: &Value, ) -> ResponseType
Build a typed Ruma [IncomingResponse] object from a json body.
IncomingResponse