Skip to main content

render_response

Function render_response 

Source
pub fn render_response(
    command: &str,
    output: JsonOutput,
    data: Value,
    text: impl Into<String>,
) -> String
Expand description

Render either the shared JSON envelope or plain text for a command response.