pub struct Recovery {
    pub cert_id: String,
    pub country: String,
    pub diagnosed: NaiveDate,
    pub disease: String,
    pub issuer: String,
    pub valid_from: NaiveDate,
    pub valid_until: NaiveDate,
}
Expand description

Attests the full recovery from a given disease

Fields

cert_id: String

Certificate ID

country: String

Member State where the test was performed

diagnosed: NaiveDate

Date of diagnosis

disease: String

String that identifies the contracted disease

issuer: String

Issuing entity

valid_from: NaiveDate

Recovery attestation validity start date

valid_until: NaiveDate

Recovery attestation validity expire date

Trait Implementations

Formats the value using the given formatter. Read more

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

This method tests for !=.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.