pub struct SsnRecognizer;Expand description
Recognizes United States Social Security Numbers.
Trait Implementations§
Source§impl Clone for SsnRecognizer
impl Clone for SsnRecognizer
Source§fn clone(&self) -> SsnRecognizer
fn clone(&self) -> SsnRecognizer
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 SsnRecognizer
impl Debug for SsnRecognizer
Source§impl Default for SsnRecognizer
impl Default for SsnRecognizer
Source§fn default() -> SsnRecognizer
fn default() -> SsnRecognizer
Returns the “default value” for a type. Read more
Source§impl Recognizer for SsnRecognizer
impl Recognizer for SsnRecognizer
Source§fn entity_type(&self) -> EntityType
fn entity_type(&self) -> EntityType
The entity type this recognizer detects.
Source§fn supported_locales(&self) -> &[Locale]
fn supported_locales(&self) -> &[Locale]
Locales this recognizer applies to. Empty means universal.
impl Copy for SsnRecognizer
Auto Trait Implementations§
impl Freeze for SsnRecognizer
impl RefUnwindSafe for SsnRecognizer
impl Send for SsnRecognizer
impl Sync for SsnRecognizer
impl Unpin for SsnRecognizer
impl UnsafeUnpin for SsnRecognizer
impl UnwindSafe for SsnRecognizer
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