Skip to main content

dynamic_booking_options_json_from_lines

Function dynamic_booking_options_json_from_lines 

pub fn dynamic_booking_options_json_from_lines(text: &str) -> Option<String>
Expand description

Converts bounded label|duration|cost lines into booking-option JSON.

§Parameters

§Returns

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

§Examples

ⓘ
let _result = pharos_native::runtime::business::dynamic_booking_options_json_from_lines("{}");
  • [crate::domain] for adjacent helpers that share the same runtime surface.