pub struct RedactionResult {
pub text: String,
pub matches: Vec<RedactedMatch>,
}Expand description
Output of redact_secrets. text is the redacted string;
matches is the per-secret tally + locations.
Fields§
§text: String§matches: Vec<RedactedMatch>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 (const: unstable) · 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
Source§impl Default for RedactionResult
impl Default for RedactionResult
Source§fn default() -> RedactionResult
fn default() -> RedactionResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RedactionResult
impl RefUnwindSafe for RedactionResult
impl Send for RedactionResult
impl Sync for RedactionResult
impl Unpin for RedactionResult
impl UnsafeUnpin 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