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
Gingr source-system evidence for this snapshot.
Sourcepub const fn owner_provider_id(&self) -> Option<&ProviderRecordId>
pub const fn owner_provider_id(&self) -> Option<&ProviderRecordId>
Gingr owner id retained for customer reconciliation.
Sourcepub const fn animal_provider_id(&self) -> Option<&ProviderRecordId>
pub const fn animal_provider_id(&self) -> Option<&ProviderRecordId>
Gingr animal id retained for pet reconciliation.
Sourcepub const fn location_provider_id(&self) -> Option<&ProviderRecordId>
pub const fn location_provider_id(&self) -> Option<&ProviderRecordId>
Gingr location id retained for location reconciliation.
Sourcepub const fn service_type_provider_id(&self) -> Option<&ProviderRecordId>
pub const fn service_type_provider_id(&self) -> Option<&ProviderRecordId>
Gingr service-type id retained for service reconciliation.
Sourcepub const fn provider_status(&self) -> Option<&ProviderStatus>
pub const fn provider_status(&self) -> Option<&ProviderStatus>
Gingr status text retained until it is mapped into normalized reservation status.
Sourcepub const fn relationship(&self) -> &OwnerPetRelationship
pub const fn relationship(&self) -> &OwnerPetRelationship
Gingr owner/pet relationship confidence used during promotion.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Snapshot
impl<'de> Deserialize<'de> for Snapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Snapshot
impl StructuralPartialEq for Snapshot
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnsafeUnpin for Snapshot
impl UnwindSafe for Snapshot
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