pub struct Hetu(/* private fields */);Expand description
A validated Finnish personal identity code (henkilötunnus, HETU).
Format: DDMMYYcXXXK where c is the century marker (- = 1900s,
+ = 1800s, A = 2000s), XXX is an individual number, and K is
a check character from the alphabet 0123456789ABCDEFHJKLMNPRSTUVWXY.
Stored in the original 11-character form.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Hetu
impl<'de> Deserialize<'de> for Hetu
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Hetu
impl StructuralPartialEq for Hetu
Auto Trait Implementations§
impl Freeze for Hetu
impl RefUnwindSafe for Hetu
impl Send for Hetu
impl Sync for Hetu
impl Unpin for Hetu
impl UnsafeUnpin for Hetu
impl UnwindSafe for Hetu
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.