pub struct ClassificationResult {
pub overall_level: SensitivityLevel,
pub matches: Vec<PiiMatch>,
}Expand description
Result of classifying a piece of text
Fields§
§overall_level: SensitivityLevelOverall highest sensitivity level found
matches: Vec<PiiMatch>All matches found
Trait Implementations§
Source§impl Clone for ClassificationResult
impl Clone for ClassificationResult
Source§fn clone(&self) -> ClassificationResult
fn clone(&self) -> ClassificationResult
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 ClassificationResult
impl RefUnwindSafe for ClassificationResult
impl Send for ClassificationResult
impl Sync for ClassificationResult
impl Unpin for ClassificationResult
impl UnsafeUnpin for ClassificationResult
impl UnwindSafe for ClassificationResult
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