Skip to main content

emit_appointments_page

Function emit_appointments_page 

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

Emits appointments visible to a user and selected tenant ids.

§Parameters

§Returns

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

§Examples

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