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
root: Input consumed bycrate::domain::dynamic_business_public_page_json.business_slug: Input consumed bycrate::domain::dynamic_business_public_page_json.user_id: Input consumed bycrate::domain::dynamic_business_public_page_json.
§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);§Related
- [
crate::domain] for adjacent helpers that share the same runtime surface.