Struct codice_fiscale::PersonData[][src]

pub struct PersonData {
    pub name: String,
    pub surname: String,
    pub birthdate: String,
    pub gender: Gender,
    pub belfiore: String,
}

PersonData struct to pass to new() constructor for calculation of codice fiscale

Fields

Birthdate must be a valid YYYY-MM-AA date

Belfiore codice for comune (ie E889). You must know it for now; we may provide a database in the future

Trait Implementations

impl Debug for PersonData
[src]

Formats the value using the given formatter. Read more

impl Clone for PersonData
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for PersonData
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for PersonData

impl Sync for PersonData