pub fn build_api_retry_update(
message: &Map<String, Value>,
) -> Option<ApiRetryUpdate>Expand description
Mirrors upstream’s buildApiRetryUpdate(message). Returns a typed
ApiRetryUpdate when all three required numeric fields parse
correctly.
Out-of-range values (negative or above u64::MAX as f64 for
the count fields, above u16::MAX as f64 for the status field)
are dropped via parse_clamped_u64 / parse_clamped_u16_optional
rather than allowed to saturate silently. f64::is_finite()
upstream filters NaN/inf, so the helpers only see finite values
to guard.