pub struct Test {
    pub cert_id: String,
    pub collect_ts: DateTime<FixedOffset>,
    pub country: String,
    pub disease: String,
    pub issuer: String,
    pub name: TestName,
    pub result: String,
    pub test_type: String,
    pub testing_centre: String,
}
Expand description

Attests that a test for a given disease has been conducted.

Fields

cert_id: String

Certificate ID

collect_ts: DateTime<FixedOffset>

Date and time when samples where collected

country: String

Member State where the test was performed

disease: String

Target disease

issuer: String

Issuing entity

name: TestName

Name and identifier of the used testing technology

result: String

Test result, as defined in SNOMED CT GPS

test_type: String

Coded string value identifying the testing method

testing_centre: String

Name of the centre that conducted the test

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.