Skip to main content

dynamic_find_first_service_for_business

Function dynamic_find_first_service_for_business 

pub fn dynamic_find_first_service_for_business(
    root: &Value,
    business_id: i64,
) -> Option<&Value>
Expand description

Finds the first service declared for a business in state order.

§Parameters

§Returns

Returns Some when crate::domain::dynamic_find_first_service_for_business 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_find_first_service_for_business.

§Examples

ⓘ
let _result = pharos_native::runtime::business::dynamic_find_first_service_for_business(std::path::Path::new("."), todo!());
  • [crate::domain] for adjacent helpers that share the same runtime surface.