pub async fn match_response_method_and_call_function(response: common_structs_mod::RpcResponse) {
    match response.response_method.as_str() {
        // region: generated match_response_method
        "cln_cargo_tree_list" => cln_cargo_tree_list(response),
        "cln_config_edit" => cln_config_edit(response),
        "cln_modal_close" => cln_modal_close(response),
        "cln_modal_error" => cln_modal_error(response),
        "cln_no_action" => cln_no_action(response),
        "cln_publisher_edit_modal" => cln_publisher_edit_modal(response),
        "cln_publisher_list" => cln_publisher_list(response),
        "cln_publisher_new_modal" => cln_publisher_new_modal(response),
        "cln_review_edit" => cln_review_edit(response),
        "cln_review_list" => cln_review_list(response),
        "cln_review_new" => cln_review_new(response),
        "cln_review_publish_modal" => cln_review_publish_modal(response),
        "cln_version_list" => cln_version_list(response),
        // endregion: generated match_response_method
        _ => log::error!("Error: Unrecognized response_method {}", response.response_method),
    }
}
/// match the string and call a function
match the string and call a function
match the string and call a function
pub async fn match_response_method_and_call_function(response: common_structs_mod::RpcResponse) {
    match response.response_method.as_str() {
        // region: generated match_response_method
        "cln_cargo_tree_list" => cln_cargo_tree_list(response),
        "cln_config_edit" => cln_config_edit(response),
        "cln_modal_close" => cln_modal_close(response),
        "cln_modal_error" => cln_modal_error(response),
        "cln_no_action" => cln_no_action(response),
        "cln_publisher_edit_modal" => cln_publisher_edit_modal(response),
        "cln_publisher_list" => cln_publisher_list(response),
        "cln_publisher_new_modal" => cln_publisher_new_modal(response),
        "cln_review_edit" => cln_review_edit(response),
        "cln_review_list" => cln_review_list(response),
        "cln_review_new" => cln_review_new(response),
        "cln_review_publish_modal" => cln_review_publish_modal(response),
        "cln_version_list" => cln_version_list(response),
        // endregion: generated match_response_method
        _ => log::error!("Error: Unrecognized response_method {}", response.response_method),
    }
}
pub async fn match_response_method_and_call_function ( response : common_structs_mod :: RpcResponse ) { match response . response_method . as_str ( ) { // region: generated match_response_method " " => cln_cargo_tree_list ( response ) , " " => cln_config_edit ( response ) , " " => cln_modal_close ( response ) , " " => cln_modal_error ( response ) , " " => cln_no_action ( response ) , " " => cln_publisher_edit_modal ( response ) , " " => cln_publisher_list ( response ) , " " => cln_publisher_new_modal ( response ) , " " => cln_review_edit ( response ) , " " => cln_review_list ( response ) , " " => cln_review_new ( response ) , " " => cln_review_publish_modal ( response ) , " " => cln_version_list ( response ) , // endregion: generated match_response_method _ => log :: error ! ( " " response response_method ) , } }
match the string and call a function
match the string and call a function
response
common_structs_mod::RpcResponse