pub fn file_generated_surface_match(
file_path: &Path,
method: &str,
request_path: &str,
) -> Option<String>Expand description
Matches one request against generated API/admin operation declarations in a contract file.
§Parameters
file_path: Input consumed bycrate::runtime::json_commands::file_generated_surface_match.method: Input consumed bycrate::runtime::json_commands::file_generated_surface_match.request_path: Input consumed bycrate::runtime::json_commands::file_generated_surface_match.
§Returns
Returns Some when crate::runtime::json_commands::file_generated_surface_match 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::file_generated_surface_match.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::file_generated_surface_match(todo!(), todo!(), "/");§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.