Skip to main content

emit_business_public_page

Function emit_business_public_page 

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

Emits the public business page JSON contract.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::emit_business_public_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_business_public_page.

§Examples

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