Skip to main content

state_find_booking_for_user

Function state_find_booking_for_user 

Source
pub fn state_find_booking_for_user(root: &Value, user_id: i64) -> Option<String>
Expand description

Returns the JSON text for a user’s booking selected by user id.

§Parameters

§Returns

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

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::state_find_booking_for_user(std::path::Path::new("."), 1);