Skip to main content

emit_profile_render_page

Function emit_profile_render_page 

Source
pub fn emit_profile_render_page(
    root: &Value,
    user_id: i64,
    app_root: &Path,
) -> Option<String>
Expand description

Emits profile-page render context.

§Parameters

§Returns

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

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::emit_profile_render_page(std::path::Path::new("."), 1, std::path::Path::new("apps/dev_docs"));