Skip to main content

emit_service_book_form_page

Function emit_service_book_form_page 

Source
pub fn emit_service_book_form_page(
    root: &Value,
    slug: &str,
    service_id: i64,
    app_root: &Path,
    error_message: Option<&str>,
) -> Option<String>
Expand description

Emits the service booking form contract.

§Parameters

§Returns

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

§Examples

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