Skip to main content

render_update

Function render_update 

Source
pub fn render_update(
    plan: &UpdatePlan,
    dry_run: DryRun,
) -> Result<String, Error>
Expand description

Renders plan as a pretty-printed JSON string.

§Errors

Returns an error only if UpdateReportDocument’s Serialize impl fails, which does not happen for the plain-data shape this module builds.