Struct hetu::Ssn [] [src]

pub struct Ssn {
    pub day: usize,
    pub month: usize,
    pub year: usize,
    pub gender: Gender,
}

Fields

Methods

impl Ssn
[src]

[src]

Parse HETU.

[src]

Generate random HETU.

[src]

Generate HETU with matching fields.

Trait Implementations

impl Copy for Ssn
[src]

impl Clone for Ssn
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Ssn
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Ssn
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for Ssn
[src]