pub trait KeyPolicy: Sync {
// Required method
fn action(&self, parent: &Map<String, Value>, key: &str) -> KeyAction;
}Expand description
Decides, per object key, whether its value is redacted or restored.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".