pub struct RedactionOutcome {
pub bytes: Vec<u8>,
pub redacted_count: usize,
}Expand description
Result of running redact over a byte buffer.
Fields§
§bytes: Vec<u8>The redacted text, re-encoded as bytes.
redacted_count: usizeTotal number of secret matches replaced across all patterns.
Auto Trait Implementations§
impl Freeze for RedactionOutcome
impl RefUnwindSafe for RedactionOutcome
impl Send for RedactionOutcome
impl Sync for RedactionOutcome
impl Unpin for RedactionOutcome
impl UnsafeUnpin for RedactionOutcome
impl UnwindSafe for RedactionOutcome
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