pub struct SensitiveDataFinding {
pub id: String,
pub category: SensitiveCategory,
pub data_type: String,
pub confidence: f32,
pub span: Span,
pub preview: String,
pub detector: String,
pub recommended_action: RedactionStrategy,
}Expand description
A single sensitive-data finding.
Fields§
§id: String§category: SensitiveCategory§data_type: String§confidence: f32§span: Span§preview: String§detector: String§recommended_action: RedactionStrategyTrait Implementations§
Source§impl Clone for SensitiveDataFinding
impl Clone for SensitiveDataFinding
Source§fn clone(&self) -> SensitiveDataFinding
fn clone(&self) -> SensitiveDataFinding
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 moreSource§impl Debug for SensitiveDataFinding
impl Debug for SensitiveDataFinding
Source§impl<'de> Deserialize<'de> for SensitiveDataFinding
impl<'de> Deserialize<'de> for SensitiveDataFinding
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
Auto Trait Implementations§
impl Freeze for SensitiveDataFinding
impl RefUnwindSafe for SensitiveDataFinding
impl Send for SensitiveDataFinding
impl Sync for SensitiveDataFinding
impl Unpin for SensitiveDataFinding
impl UnsafeUnpin for SensitiveDataFinding
impl UnwindSafe for SensitiveDataFinding
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