pub struct SnapshotBuilder { /* private fields */ }Expand description
Builder for assembling a source snapshot with validated provider identifiers.
Implementations§
Source§impl SnapshotBuilder
impl SnapshotBuilder
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Assembles source-lineage data from already validated domain parts without reinterpreting authority.
Sourcepub fn provenance(self, provenance: Provenance) -> Self
pub fn provenance(self, provenance: Provenance) -> Self
Sets source-system evidence for the reservation snapshot’s audit trail.
Sourcepub fn customer_record_id(self, id: impl Into<Option<Id>>) -> Self
pub fn customer_record_id(self, id: impl Into<Option<Id>>) -> Self
Attaches the optional customer provider id retained for owner reconciliation.
Sourcepub fn pet_record_id(self, id: impl Into<Option<Id>>) -> Self
pub fn pet_record_id(self, id: impl Into<Option<Id>>) -> Self
Attaches the optional pet provider id retained for animal reconciliation.
Sourcepub fn location_record_id(self, id: impl Into<Option<Id>>) -> Self
pub fn location_record_id(self, id: impl Into<Option<Id>>) -> Self
Attaches the optional location provider id used for resort-level reconciliation.
Sourcepub fn service_type_record_id(self, id: impl Into<Option<Id>>) -> Self
pub fn service_type_record_id(self, id: impl Into<Option<Id>>) -> Self
Attaches the optional service-type provider id before domain-service promotion.
Sourcepub fn status(self, status: impl Into<Option<Status>>) -> Self
pub fn status(self, status: impl Into<Option<Status>>) -> Self
Records normalized reservation status evidence for promotion or review routing.
Sourcepub fn relationship(self, relationship: OwnerPetRelationship) -> Self
pub fn relationship(self, relationship: OwnerPetRelationship) -> Self
Records whether owner/pet linkage is resolved or needs reviewer reconciliation.
Sourcepub fn assumptions(self, assumptions: Vec<Assumption>) -> Self
pub fn assumptions(self, assumptions: Vec<Assumption>) -> Self
Records normalization assumptions reviewers may need to accept or reject.
Trait Implementations§
Source§impl Clone for SnapshotBuilder
impl Clone for SnapshotBuilder
Source§fn clone(&self) -> SnapshotBuilder
fn clone(&self) -> SnapshotBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more