Skip to main content

generated_surface_params

Function generated_surface_params 

Source
pub fn generated_surface_params(
    surface_json: &str,
    context_json: &str,
    identity_value: Option<&str>,
) -> Option<String>
Expand description

Builds the context and identity parameter object used by generated routes.

§Parameters

§Returns

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

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::generated_surface_params("{}", todo!(), todo!());