Struct dgc::Recovery [−][src]
pub struct Recovery {
pub targeted_disease: Cow<'static, str>,
pub result_date: Cow<'static, str>,
pub country: Cow<'static, str>,
pub issuer: String,
pub valid_from: String,
pub valid_until: String,
pub id: String,
}
Expand description
A recovery entry.
It provides all the necessary detail regarding the recovery from a given disease.
Fields
targeted_disease: Cow<'static, str>
Targeted Disease or agent
result_date: Cow<'static, str>
ISO 8601 complete date of first positive NAA test result
country: Cow<'static, str>
Country of Test
issuer: String
Certificate Issuer
valid_from: String
ISO 8601 complete date: Certificate Valid From
valid_until: String
ISO 8601 complete date: Certificate Valid Until
id: String
Unique Certificate Identifier, UVCI
Implementations
Updates all the ids in the recovery entry with their descriptive counterparts using the official valueset.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Recovery
impl UnwindSafe for Recovery
Blanket Implementations
Mutably borrows from an owned value. Read more