Skip to main content

response_body

Function response_body 

Source
pub fn response_body(
    resp: &HttpResponse,
    success: Option<&WireRef>,
) -> Option<ResponseBody>
Expand description

The body of one response, or None when it has none to describe: a no-payload variant, a () value payload, or a boundary-implicit response (the boundary shapes those bodies, not the handler).