Skip to main content

emit_profile_page

Function emit_profile_page 

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

Emits a rendered profile page for one user.

§Parameters

§Returns

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

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::json_commands::emit_profile_page.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::emit_profile_page(std::path::Path::new("."), 1);