pub struct Provenance { /* private fields */ }Expand description
Lineage metadata that ties normalized data back to its provider record.
Implementations§
Source§impl Provenance
impl Provenance
Sourcepub fn builder() -> ProvenanceBuilder
pub fn builder() -> ProvenanceBuilder
Create an instance of Provenance using the builder syntax
Source§impl Provenance
impl Provenance
Sourcepub const fn source_system(&self) -> System
pub const fn source_system(&self) -> System
Returns the source system evidence carried by this source-lineage value.
Sourcepub const fn endpoint(&self) -> &Endpoint
pub const fn endpoint(&self) -> &Endpoint
Returns the endpoint evidence carried by this source-lineage value.
Sourcepub const fn provider_record_id(&self) -> &ProviderRecordId
pub const fn provider_record_id(&self) -> &ProviderRecordId
Returns the provider record id evidence carried by this source-lineage value.
Returns the related provider ids evidence carried by this source snapshot.
Sourcepub const fn extraction_batch(&self) -> &ExtractionBatchId
pub const fn extraction_batch(&self) -> &ExtractionBatchId
Returns the extraction batch evidence carried by this source-lineage value.
Sourcepub const fn pulled_at(&self) -> &Timestamp
pub const fn pulled_at(&self) -> &Timestamp
Returns the pulled at evidence carried by this source-lineage value.
Sourcepub const fn raw_payload_ref(&self) -> &RawPayloadRef
pub const fn raw_payload_ref(&self) -> &RawPayloadRef
Returns the raw payload ref evidence carried by this source-lineage value.
Sourcepub fn promote(self) -> Provenance
pub fn promote(self) -> Provenance
Promotes provider source data into the normalized domain snapshot.
Trait Implementations§
Source§impl Clone for Provenance
impl Clone for Provenance
Source§fn clone(&self) -> Provenance
fn clone(&self) -> Provenance
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 Provenance
impl Debug for Provenance
Source§impl<'de> Deserialize<'de> for Provenance
impl<'de> Deserialize<'de> for Provenance
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
Source§impl PartialEq for Provenance
impl PartialEq for Provenance
Source§impl Serialize for Provenance
impl Serialize for Provenance
impl Eq for Provenance
impl StructuralPartialEq for Provenance
Auto Trait Implementations§
impl Freeze for Provenance
impl RefUnwindSafe for Provenance
impl Send for Provenance
impl Sync for Provenance
impl Unpin for Provenance
impl UnsafeUnpin for Provenance
impl UnwindSafe for Provenance
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