Crate codice_fiscale
source ·Expand description
This crate provides tools to manage the Italian codice fiscale, which (for anyone who doesn’t live in Italy) is a code associated to every individual which helps with identification in public services.
We currently provide codice fiscale calculation and check.
For anyone interested, here’s an explanation (Italian language) on how the codice fiscale is calculated: https://it.wikipedia.org/wiki/Codice_fiscale#Generazione_del_codice_fiscale
Modules
This module contains Belfiore codes and it’s used to lookup municipality info
Structs
This is a static Belfiore codes DB
Codice fiscale calculation and parsing. The static method
check()
is most likely what you need.PersonData struct to pass to new() constructor for calculation of
codice fiscale