Skip to main content

dynamic_render_service_visual_html

Function dynamic_render_service_visual_html 

Source
pub fn dynamic_render_service_visual_html(
    app_root: &Path,
    service: &Value,
) -> Option<String>
Expand description

Renders the declared service visual fragment with escaped data.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::dynamic_render_service_visual_html can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::dynamic_render_service_visual_html(std::path::Path::new("apps/dev_docs"), todo!());