Struct hetu::SsnPattern
source · pub struct SsnPattern {
pub d1: Option<u8>,
pub d2: Option<u8>,
pub m1: Option<u8>,
pub m2: Option<u8>,
pub y1: Option<u8>,
pub y2: Option<u8>,
pub sep: Option<char>,
pub i1: Option<u8>,
pub i2: Option<u8>,
pub i3: Option<u8>,
pub check: Option<char>,
}
Fields
d1: Option<u8>
d2: Option<u8>
m1: Option<u8>
m2: Option<u8>
y1: Option<u8>
y2: Option<u8>
sep: Option<char>
i1: Option<u8>
i2: Option<u8>
i3: Option<u8>
check: Option<char>
Implementations
sourceimpl SsnPattern
impl SsnPattern
pub fn new() -> SsnPattern
pub fn parse(p: &str) -> Result<SsnPattern, ParseError<'_>>
Trait Implementations
sourceimpl Clone for SsnPattern
impl Clone for SsnPattern
sourcefn clone(&self) -> SsnPattern
fn clone(&self) -> SsnPattern
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SsnPattern
impl Debug for SsnPattern
sourceimpl Default for SsnPattern
impl Default for SsnPattern
sourcefn default() -> SsnPattern
fn default() -> SsnPattern
Returns the “default value” for a type. Read more
sourceimpl PartialEq<SsnPattern> for SsnPattern
impl PartialEq<SsnPattern> for SsnPattern
sourcefn eq(&self, other: &SsnPattern) -> bool
fn eq(&self, other: &SsnPattern) -> bool
impl Copy for SsnPattern
impl Eq for SsnPattern
impl StructuralEq for SsnPattern
impl StructuralPartialEq for SsnPattern
Auto Trait Implementations
impl RefUnwindSafe for SsnPattern
impl Send for SsnPattern
impl Sync for SsnPattern
impl Unpin for SsnPattern
impl UnwindSafe for SsnPattern
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more