Skip to main content

dynamic_business_public_page_json

Function dynamic_business_public_page_json 

pub fn dynamic_business_public_page_json(
    root: &Value,
    business_slug: &str,
    user_id: i64,
) -> Option<String>
Expand description

Builds the business public page JSON wrapper with sorted service summaries.

§Parameters

§Returns

Returns Some when crate::domain::dynamic_business_public_page_json 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::domain::dynamic_business_public_page_json.

§Examples

ⓘ
let _result = pharos_native::runtime::business::dynamic_business_public_page_json(std::path::Path::new("."), "demo", 1);
  • [crate::domain] for adjacent helpers that share the same runtime surface.