pub struct RedactionResult {
pub redacted_string: String,
pub redaction_map: HashMap<String, String>,
}Expand description
A result containing both the redacted string and the mapping of redaction keys to original secrets
Fields§
§redacted_string: StringThe input string with secrets replaced by redaction keys
redaction_map: HashMap<String, String>Mapping from redaction key to the original secret value
Implementations§
Trait Implementations§
Source§impl Clone for RedactionResult
impl Clone for RedactionResult
Source§fn clone(&self) -> RedactionResult
fn clone(&self) -> RedactionResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RedactionResult
impl Debug for RedactionResult
Auto Trait Implementations§
impl Freeze for RedactionResult
impl RefUnwindSafe for RedactionResult
impl Send for RedactionResult
impl Sync for RedactionResult
impl Unpin for RedactionResult
impl UnwindSafe for RedactionResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more