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
surface_json: Input consumed bycrate::runtime::json_commands::generated_surface_params.context_json: Input consumed bycrate::runtime::json_commands::generated_surface_params.identity_value: Input consumed bycrate::runtime::json_commands::generated_surface_params.
§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!());§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.