pub struct Pesel(/* private fields */);Expand description
Stores the PESEL as is, in human redable form.
Used when frequently reading the human redable representation without accessing the individual fields.
Trait Implementations§
Source§impl Ord for Pesel
impl Ord for Pesel
Source§impl PartialOrd for Pesel
impl PartialOrd for Pesel
Source§impl PeselTrait for Pesel
impl PeselTrait for Pesel
Source§fn day_section(&self) -> u8
fn day_section(&self) -> u8
Day of birth section.
Source§fn month_section(&self) -> u8
fn month_section(&self) -> u8
Month of birth section.
Source§fn year_section(&self) -> u8
fn year_section(&self) -> u8
Year of birth section.
Source§fn ordinal_section(&self) -> u16
fn ordinal_section(&self) -> u16
Ordinal section.
Source§fn control_section(&self) -> u8
fn control_section(&self) -> u8
Control section.
Source§fn date_of_birth(&self) -> NaiveDate
fn date_of_birth(&self) -> NaiveDate
Date of birth.
impl Eq for Pesel
impl StructuralPartialEq for Pesel
Auto Trait Implementations§
impl Freeze for Pesel
impl RefUnwindSafe for Pesel
impl Send for Pesel
impl Sync for Pesel
impl Unpin for Pesel
impl UnwindSafe for Pesel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)