pub struct DetectedSecret {
pub rule_id: String,
pub value: String,
pub start_pos: usize,
pub end_pos: usize,
}Expand description
Represents a detected secret with its position and value
Fields§
§rule_id: StringDetection rule id
value: StringThe secret value
start_pos: usizeStart position in the original string
end_pos: usizeEnd position in the original string
Trait Implementations§
Source§impl Clone for DetectedSecret
impl Clone for DetectedSecret
Source§fn clone(&self) -> DetectedSecret
fn clone(&self) -> DetectedSecret
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 moreAuto Trait Implementations§
impl Freeze for DetectedSecret
impl RefUnwindSafe for DetectedSecret
impl Send for DetectedSecret
impl Sync for DetectedSecret
impl Unpin for DetectedSecret
impl UnwindSafe for DetectedSecret
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