Skip to main content

generated_surface_api_match

Function generated_surface_api_match 

Source
pub fn generated_surface_api_match(
    file_path: &Path,
    method: &str,
    request_path: &str,
) -> Option<String>
Expand description

Matches one generated API/admin operation in a contract file.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::generated_surface_api_match can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::generated_surface_api_match(todo!(), todo!(), "/");