Skip to main content

redact_map

Function redact_map 

Source
pub fn redact_map(fields: &mut Fields) -> bool
Expand description

Redact every secret-bearing string field of an open map in place. Non-string values, empty strings, and already-redacted values are left untouched. Returns true if at least one field value was changed.