Struct hetu::SsnPattern [−][src]
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
impl SsnPattern
[src]
impl SsnPattern
[src]pub fn new() -> SsnPattern
[src]
pub fn parse(p: &str) -> Result<SsnPattern, ParseError<'_>>
[src]
Trait Implementations
impl Clone for SsnPattern
[src]
impl Clone for SsnPattern
[src]fn clone(&self) -> SsnPattern
[src]
fn clone(&self) -> SsnPattern
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for SsnPattern
[src]
impl Debug for SsnPattern
[src]impl Default for SsnPattern
[src]
impl Default for SsnPattern
[src]fn default() -> SsnPattern
[src]
fn default() -> SsnPattern
[src]Returns the “default value” for a type. Read more
impl PartialEq<SsnPattern> for SsnPattern
[src]
impl PartialEq<SsnPattern> for SsnPattern
[src]fn eq(&self, other: &SsnPattern) -> bool
[src]
fn eq(&self, other: &SsnPattern) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &SsnPattern) -> bool
[src]
fn ne(&self, other: &SsnPattern) -> bool
[src]This method tests for !=
.
impl Copy for SsnPattern
[src]
impl Eq for SsnPattern
[src]
impl StructuralEq for SsnPattern
[src]
impl StructuralPartialEq for SsnPattern
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more