pub struct Provenance {
pub producer: Option<String>,
pub timestamp_ms: u64,
pub model: Option<String>,
pub tool: Option<String>,
pub parent: Option<[u8; 32]>,
pub entries: Vec<ProvEntry>,
}Expand description
Module provenance: who produced this module, when, with what, from what.
Fields§
§producer: Option<String>Producer identity (agent, tool, human, pipeline).
timestamp_ms: u64Unix epoch milliseconds; 0 means “unrecorded”.
model: Option<String>Model identity when an AI produced the module.
tool: Option<String>Tool identity.
parent: Option<[u8; 32]>Content hash of the parent module this one derives from.
entries: Vec<ProvEntry>Free-form typed entries, sorted by key in canonical form.
Trait Implementations§
Source§impl Clone for Provenance
impl Clone for Provenance
Source§impl Debug for Provenance
impl Debug for Provenance
Source§impl Default for Provenance
impl Default for Provenance
Source§impl PartialEq for Provenance
impl PartialEq 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