pub struct Snapshot { /* private fields */ }Expand description
Point-in-time source-data view used before promotion into core domain records.
Implementations§
Source§impl Snapshot
impl Snapshot
Sourcepub const fn builder() -> SnapshotBuilder
pub const fn builder() -> SnapshotBuilder
Starts a Gingr reservation source snapshot builder.
Sourcepub const fn provenance(&self) -> &Provenance
pub const fn provenance(&self) -> &Provenance
Source-system evidence for this snapshot.
Sourcepub const fn customer_record_id(&self) -> Option<&Id>
pub const fn customer_record_id(&self) -> Option<&Id>
Provider/read-model customer identifier retained for reconciliation.
Sourcepub const fn pet_record_id(&self) -> Option<&Id>
pub const fn pet_record_id(&self) -> Option<&Id>
Provider/read-model pet identifier retained for reconciliation.
Sourcepub const fn location_record_id(&self) -> Option<&Id>
pub const fn location_record_id(&self) -> Option<&Id>
Provider/read-model location identifier retained for reconciliation.
Sourcepub const fn service_type_record_id(&self) -> Option<&Id>
pub const fn service_type_record_id(&self) -> Option<&Id>
Provider/read-model service-type identifier retained for reconciliation.
Sourcepub fn status(&self) -> Option<Status>
pub fn status(&self) -> Option<Status>
Normalized reservation lifecycle status preserved for booking promotion or exception review.
Sourcepub const fn relationship(&self) -> &OwnerPetRelationship
pub const fn relationship(&self) -> &OwnerPetRelationship
Owner/pet relationship confidence that can block promotion when ambiguous.
Sourcepub fn assumptions(&self) -> &[Assumption]
pub fn assumptions(&self) -> &[Assumption]
Ingestion assumptions reviewers must accept, reject, or keep visible before promotion.
Sourcepub fn data_quality_issues(&self, detected_at: Timestamp) -> Vec<Issue>
pub fn data_quality_issues(&self, detected_at: Timestamp) -> Vec<Issue>
Data-quality blockers and warnings derived from missing source evidence or ambiguous promotion state.