pub struct LogLineScanResult {
pub line_number: usize,
pub format: LogLineFormat,
pub findings: Vec<PiiEntity>,
pub masked_line: Option<String>,
}Expand description
PII findings for one streamed log line.
Spans are byte offsets relative to the original line content.
Fields§
§line_number: usizeOne-based line number.
format: LogLineFormatDetected practical log format for the line.
findings: Vec<PiiEntity>Findings detected on this line.
masked_line: Option<String>Masked line when the scanner has masking enabled.
Trait Implementations§
Source§impl Clone for LogLineScanResult
impl Clone for LogLineScanResult
Source§fn clone(&self) -> LogLineScanResult
fn clone(&self) -> LogLineScanResult
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 LogLineScanResult
impl Debug for LogLineScanResult
Source§impl<'de> Deserialize<'de> for LogLineScanResult
impl<'de> Deserialize<'de> for LogLineScanResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LogLineScanResult
impl PartialEq for LogLineScanResult
Source§fn eq(&self, other: &LogLineScanResult) -> bool
fn eq(&self, other: &LogLineScanResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LogLineScanResult
impl Serialize for LogLineScanResult
impl StructuralPartialEq for LogLineScanResult
Auto Trait Implementations§
impl Freeze for LogLineScanResult
impl RefUnwindSafe for LogLineScanResult
impl Send for LogLineScanResult
impl Sync for LogLineScanResult
impl Unpin for LogLineScanResult
impl UnsafeUnpin for LogLineScanResult
impl UnwindSafe for LogLineScanResult
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