Enum codice_fiscale::Gender[][src]

pub enum Gender {
    M,
    F,
}

Gender enum to specify gender in PersonData struct Italian government only accepts either male or female!

Variants

Trait Implementations

impl Copy for Gender
[src]

impl Clone for Gender
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Gender
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Gender
[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 Gender

impl Sync for Gender