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: VaccineRecordIdId retained from source records for staff review, safety gates, and workflow joins.
pet_id: PetIdPet receiving the grooming or care service.
vaccine_name: VaccineNameVaccine name retained from source records for staff review, safety gates, and workflow joins.
source_document_id: DocumentIdSource document id retained from source records for staff review, safety gates, and workflow joins.
status: StatusStatus retained from source records for staff review, safety gates, and workflow joins.
effective_on: NaiveDateEffective on retained from source records for staff review, safety gates, and workflow joins.
expires_on: Option<NaiveDate>Expires on retained from source records for staff review, safety gates, and workflow joins.
review_gate: ReviewGateReview gate retained from source records for staff review, safety gates, and workflow joins.
audit_refs: Vec<EventId>Audit refs retained from source records for staff review, safety gates, and workflow joins.
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