pub struct Provenance {
pub id: ProvenanceId,
pub data: String,
pub source: String,
pub source_created_at: String,
pub artifacts: Vec<ProvenanceArtifact>,
}Expand description
One immutable provenance record and its ordered artifact metadata.
Fields§
§id: ProvenanceIdDurable provenance identifier.
data: StringComplete UTF-8 source material, loaded transparently when external.
source: StringTrimmed source label.
source_created_at: StringCaller-supplied RFC 3339 source creation time.
artifacts: Vec<ProvenanceArtifact>Ordered metadata for attached artifacts and external source data.
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 (const: unstable) · 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
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