Skip to main content

json_reply

Function json_reply 

Source
pub fn json_reply<T: Serialize>(body: &T) -> Response
Expand description

Serialize body as a 200 OK JSON response.