pub struct JsonStringScanResult {
pub path: String,
pub findings: Vec<PiiEntity>,
pub masked_value: Option<String>,
}Expand description
PII findings from one JSON string value.
Fields§
§path: StringJSON path where the string was found.
findings: Vec<PiiEntity>Findings detected in this string.
masked_value: Option<String>Masked value when scanner masking is enabled.
Trait Implementations§
Source§impl Clone for JsonStringScanResult
impl Clone for JsonStringScanResult
Source§fn clone(&self) -> JsonStringScanResult
fn clone(&self) -> JsonStringScanResult
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 JsonStringScanResult
impl Debug for JsonStringScanResult
Source§impl<'de> Deserialize<'de> for JsonStringScanResult
impl<'de> Deserialize<'de> for JsonStringScanResult
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 JsonStringScanResult
impl PartialEq for JsonStringScanResult
Source§fn eq(&self, other: &JsonStringScanResult) -> bool
fn eq(&self, other: &JsonStringScanResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for JsonStringScanResult
impl Serialize for JsonStringScanResult
impl StructuralPartialEq for JsonStringScanResult
Auto Trait Implementations§
impl Freeze for JsonStringScanResult
impl RefUnwindSafe for JsonStringScanResult
impl Send for JsonStringScanResult
impl Sync for JsonStringScanResult
impl Unpin for JsonStringScanResult
impl UnsafeUnpin for JsonStringScanResult
impl UnwindSafe for JsonStringScanResult
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