pub struct VaccineRecord {
pub id: VaccineRecordId,
pub pet_id: PetId,
pub vaccine_name: VaccineName,
pub source_document_id: DocumentId,
pub status: Status,
pub effective_on: NaiveDate,
pub expires_on: Option<NaiveDate>,
pub review_gate: ReviewGate,
pub audit_refs: Vec<EventId>,
}Expand description
Vaccine compliance record linking pet, vaccine name, expiration, proof document, and review status.
Fields§
§id: VaccineRecordIdSource-backed id carried by this normalized pet-resort entity.
pet_id: PetIdPet receiving the grooming or care service.
vaccine_name: VaccineNameSource-backed vaccine name carried by this normalized pet-resort entity.
source_document_id: DocumentIdSource-backed source document ID carried by this normalized pet-resort entity.
status: StatusSource-backed status carried by this normalized pet-resort entity.
effective_on: NaiveDateSource-backed effective on carried by this normalized pet-resort entity.
expires_on: Option<NaiveDate>Source-backed expires on carried by this normalized pet-resort entity.
review_gate: ReviewGateSource-backed review gate carried by this normalized pet-resort entity.
audit_refs: Vec<EventId>Source-backed audit refs carried by this normalized pet-resort entity.
Implementations§
Source§impl VaccineRecord
impl VaccineRecord
Sourcepub fn builder() -> VaccineRecordBuilder
pub fn builder() -> VaccineRecordBuilder
Create an instance of VaccineRecord using the builder syntax
Source§impl VaccineRecord
impl VaccineRecord
Sourcepub fn requires_human_review_before_compliance(&self) -> bool
pub fn requires_human_review_before_compliance(&self) -> bool
Reports whether vaccine proof is still unverified, rejected, or otherwise unsafe for compliance automation.
Trait Implementations§
Source§impl Clone for VaccineRecord
impl Clone for VaccineRecord
Source§fn clone(&self) -> VaccineRecord
fn clone(&self) -> VaccineRecord
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more