pub struct ProvenanceNode {
pub id: String,
pub claim: String,
pub evidence: Evidence,
pub producer: String,
pub timestamp: String,
pub parent_id: Option<String>,
}Expand description
A single node in a provenance chain.
Fields§
§id: StringUnique identifier for this node (format: prov-{n}).
claim: StringThe claim this node represents.
evidence: EvidenceEpistemic evidence backing the claim.
producer: StringThe agent or system that produced this node.
timestamp: StringISO-8601 timestamp of when this node was created.
parent_id: Option<String>Parent node ID, or None if this is a root.
Trait Implementations§
Source§impl Clone for ProvenanceNode
impl Clone for ProvenanceNode
Source§fn clone(&self) -> ProvenanceNode
fn clone(&self) -> ProvenanceNode
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 ProvenanceNode
impl Debug for ProvenanceNode
Source§impl<'de> Deserialize<'de> for ProvenanceNode
impl<'de> Deserialize<'de> for ProvenanceNode
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
Auto Trait Implementations§
impl Freeze for ProvenanceNode
impl RefUnwindSafe for ProvenanceNode
impl Send for ProvenanceNode
impl Sync for ProvenanceNode
impl Unpin for ProvenanceNode
impl UnsafeUnpin for ProvenanceNode
impl UnwindSafe for ProvenanceNode
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