pub struct CandidateTraceHeader {
pub format_version: u32,
pub configured_input: String,
pub configured_input_digest: CandidateTraceDigest,
pub execution_policy: CandidateTraceExecutionPolicy,
pub execution_policy_digest: CandidateTraceDigest,
pub execution_policy_complete: bool,
pub input_provenance: Option<CandidateTraceInputProvenance>,
pub input_provenance_digest: Option<CandidateTraceDigest>,
pub qualified_run_provenance: Option<QualifiedCandidateTraceRunProvenance>,
pub resolved_phase_plan: CandidateTracePhasePlan,
pub resolved_phase_plan_digest: CandidateTraceDigest,
pub resolved_phase_plan_complete: bool,
}Expand description
Immutable provenance emitted once for an opt-in candidate trace.
Fields§
§format_version: u32§configured_input: StringCanonical TOML from the exact SolverConfig supplied to the run.
This is deliberately named configured input, not “effective
configuration”: effective execution behavior is represented by
Self::execution_policy and Self::resolved_phase_plan.
configured_input_digest: CandidateTraceDigest§execution_policy: CandidateTraceExecutionPolicyActual resolved solver policy, including entrypoint defaults injected by the configured runtime path.
execution_policy_digest: CandidateTraceDigest§execution_policy_complete: boolFalse means the execution policy came from an arbitrary generic Rust termination and cannot qualify as exact work-equivalence evidence.
input_provenance: Option<CandidateTraceInputProvenance>Optional immutable model/instance/initial-state provenance supplied by the entrypoint.
input_provenance_digest: Option<CandidateTraceDigest>§qualified_run_provenance: Option<QualifiedCandidateTraceRunProvenance>Present only when the caller explicitly requested a qualified diagnostic run. It repeats the exact immutable attestation rather than requiring consumers to infer qualification from optional fields.
resolved_phase_plan: CandidateTracePhasePlan§resolved_phase_plan_digest: CandidateTraceDigest§resolved_phase_plan_complete: boolFalse means at least one phase supplied only opaque provenance and cannot qualify as an exact work-equivalence comparison.
Implementations§
Source§impl CandidateTraceHeader
impl CandidateTraceHeader
pub fn new( configured_input: String, execution_policy: CandidateTraceExecutionPolicy, resolved_phase_plan: CandidateTracePhasePlan, input_provenance: Option<CandidateTraceInputProvenance>, ) -> Self
pub fn new_qualified( configured_input: String, execution_policy: CandidateTraceExecutionPolicy, resolved_phase_plan: CandidateTracePhasePlan, qualified_run_provenance: QualifiedCandidateTraceRunProvenance, ) -> Self
Trait Implementations§
Source§impl Clone for CandidateTraceHeader
impl Clone for CandidateTraceHeader
Source§fn clone(&self) -> CandidateTraceHeader
fn clone(&self) -> CandidateTraceHeader
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CandidateTraceHeader
impl Debug for CandidateTraceHeader
impl Eq for CandidateTraceHeader
Source§impl PartialEq for CandidateTraceHeader
impl PartialEq for CandidateTraceHeader
impl StructuralPartialEq for CandidateTraceHeader
Auto Trait Implementations§
impl Freeze for CandidateTraceHeader
impl RefUnwindSafe for CandidateTraceHeader
impl Send for CandidateTraceHeader
impl Sync for CandidateTraceHeader
impl Unpin for CandidateTraceHeader
impl UnsafeUnpin for CandidateTraceHeader
impl UnwindSafe for CandidateTraceHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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>
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>
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