pub struct ProvenanceMetadata {
pub model_id: Option<String>,
pub model_version: Option<String>,
pub confidence: Option<f64>,
pub verified: bool,
pub source: Option<String>,
pub trust_domain: Option<String>,
pub evidence_refs: Vec<String>,
}Expand description
Provenance metadata attached to node completions for research traceability.
Fields§
§model_id: Option<String>Model identifier used for this node (e.g., “claude-haiku-4-5-20251001”)
model_version: Option<String>Model version or checkpoint (e.g., “20251001”)
confidence: Option<f64>Confidence score (0.0-1.0) if available
verified: boolWhether the output was verified by another model/check
source: Option<String>Source identifier (e.g., “mcp:brave-search”, “a2a:research-agent”)
trust_domain: Option<String>Trust domain this output belongs to (e.g., “internal”, “external:partner-org”).
evidence_refs: Vec<String>References to supporting evidence (URIs, document IDs, event sequences).
Trait Implementations§
Source§impl Clone for ProvenanceMetadata
impl Clone for ProvenanceMetadata
Source§fn clone(&self) -> ProvenanceMetadata
fn clone(&self) -> ProvenanceMetadata
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 ProvenanceMetadata
impl Debug for ProvenanceMetadata
Source§impl Default for ProvenanceMetadata
impl Default for ProvenanceMetadata
Source§fn default() -> ProvenanceMetadata
fn default() -> ProvenanceMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProvenanceMetadata
impl<'de> Deserialize<'de> for ProvenanceMetadata
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 ProvenanceMetadata
impl PartialEq for ProvenanceMetadata
Source§fn eq(&self, other: &ProvenanceMetadata) -> bool
fn eq(&self, other: &ProvenanceMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProvenanceMetadata
impl Serialize for ProvenanceMetadata
impl StructuralPartialEq for ProvenanceMetadata
Auto Trait Implementations§
impl Freeze for ProvenanceMetadata
impl RefUnwindSafe for ProvenanceMetadata
impl Send for ProvenanceMetadata
impl Sync for ProvenanceMetadata
impl Unpin for ProvenanceMetadata
impl UnsafeUnpin for ProvenanceMetadata
impl UnwindSafe for ProvenanceMetadata
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more