pub struct Vaccine {
    pub cert_id: String,
    pub country: String,
    pub date: NaiveDate,
    pub disease: String,
    pub dose_number: usize,
    pub dose_total: usize,
    pub issuer: String,
    pub market_auth: String,
    pub product: String,
    pub prophylaxis_kind: String,
}
Expand description

Attests that an individual has been vaccinated for a given disease.

Fields

cert_id: String

Certificate ID

country: String

Vaccination country

date: NaiveDate

Vaccination date

disease: String

Targeted disease

dose_number: usize

Number of administered doses

dose_total: usize

Total number of doses required by the administered vaccine

issuer: String

Issuing entity

market_auth: String

EUDCC Gateway market authorization identifier

product: String

Product identifier as defined in EUDCC Gateway

prophylaxis_kind: String

Type of vaccine or prophylaxis used as defined in EUDCC Gateway

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.