pub fn redact(payload: &Map<String, Value>) -> (Map<String, Value>, u32)Expand description
Replaces every secret-shaped span in every string of payload.
Returns the payload and how many spans were replaced, because a count is what a diagnostic line can say without saying what it found.