Skip to main content

redact_value

Function redact_value 

Source
pub fn redact_value(value: &mut Value) -> u64
Expand description

Recursively redact credential-bearing keys and obvious secret-shaped values in place. Returns the number of redactions applied. Applies to nested objects and arrays at any depth.