pub struct GenericSecretRecognizer { /* private fields */ }Expand description
Context-gated generic secret recognizer.
Implementations§
Trait Implementations§
Source§impl Debug for GenericSecretRecognizer
impl Debug for GenericSecretRecognizer
Source§impl Default for GenericSecretRecognizer
impl Default for GenericSecretRecognizer
Source§impl Recognizer for GenericSecretRecognizer
impl Recognizer for GenericSecretRecognizer
Source§fn supported_entities(&self) -> &[EntityType]
fn supported_entities(&self) -> &[EntityType]
Get the entity types this recognizer can detect
Source§fn analyze(&self, text: &str, _language: &str) -> Result<Vec<RecognizerResult>>
fn analyze(&self, text: &str, _language: &str) -> Result<Vec<RecognizerResult>>
Analyze text and return detected entities
Source§fn supports_language(&self, language: &str) -> bool
fn supports_language(&self, language: &str) -> bool
Check if this recognizer supports the given language
Auto Trait Implementations§
impl Freeze for GenericSecretRecognizer
impl RefUnwindSafe for GenericSecretRecognizer
impl Send for GenericSecretRecognizer
impl Sync for GenericSecretRecognizer
impl Unpin for GenericSecretRecognizer
impl UnsafeUnpin for GenericSecretRecognizer
impl UnwindSafe for GenericSecretRecognizer
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