//! Test compatibility entry for the production notification decoder. use serde_json::Value; pub(super) fn decode_cancelled_request_id(params: &Value) -> Option { let (typed, raw_number) = super::rmcp_notifications::cancelled_params(params)?; let id = typed.request_id?; Some(raw_number.unwrap_or_else(|| id.into_json_value())) } #[path = "rmcp_progress_cancel_tests.rs"] mod tests;