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 Gingr source-system evidence for the reservation snapshot’s audit trail.
Sourcepub fn owner_provider_id(self, id: impl Into<Option<ProviderRecordId>>) -> Self
pub fn owner_provider_id(self, id: impl Into<Option<ProviderRecordId>>) -> Self
Attaches the optional Gingr owner id retained for customer reconciliation.
Sourcepub fn animal_provider_id(self, id: impl Into<Option<ProviderRecordId>>) -> Self
pub fn animal_provider_id(self, id: impl Into<Option<ProviderRecordId>>) -> Self
Attaches the optional Gingr animal id retained for pet reconciliation.
Sourcepub fn location_provider_id(
self,
id: impl Into<Option<ProviderRecordId>>,
) -> Self
pub fn location_provider_id( self, id: impl Into<Option<ProviderRecordId>>, ) -> Self
Attaches the optional Gingr location id used for resort-level reconciliation.
Sourcepub fn service_type_provider_id(
self,
id: impl Into<Option<ProviderRecordId>>,
) -> Self
pub fn service_type_provider_id( self, id: impl Into<Option<ProviderRecordId>>, ) -> Self
Attaches the optional Gingr service-type id before domain-service promotion.
Sourcepub fn provider_status(self, status: impl Into<Option<ProviderStatus>>) -> Self
pub fn provider_status(self, status: impl Into<Option<ProviderStatus>>) -> Self
Records observed Gingr status evidence that drives promotion or exception review.
Sourcepub fn relationship(self, relationship: OwnerPetRelationship) -> Self
pub fn relationship(self, relationship: OwnerPetRelationship) -> Self
Records whether Gingr owner/animal linkage is resolved or reviewer-ambiguous.
Trait Implementations§
Source§impl Clone for SnapshotBuilder
impl Clone for SnapshotBuilder
Source§fn clone(&self) -> SnapshotBuilder
fn clone(&self) -> SnapshotBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SnapshotBuilder
impl Debug for SnapshotBuilder
Auto Trait Implementations§
impl Freeze for SnapshotBuilder
impl RefUnwindSafe for SnapshotBuilder
impl Send for SnapshotBuilder
impl Sync for SnapshotBuilder
impl Unpin for SnapshotBuilder
impl UnsafeUnpin for SnapshotBuilder
impl UnwindSafe for SnapshotBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more