pub struct EvalTrace {
pub cell: String,
pub formula: Option<String>,
pub resolved_refs: Vec<(String, CellValue)>,
pub dispatched_fn: Option<String>,
pub operand_values: Vec<CellValue>,
pub coercions: Vec<String>,
pub short_circuited: Option<ExcelError>,
}Expand description
A per-cell evidence record the executor emits as it computes — the classifier consumes it as the deciding evidence for a mismatch. Owned and serde/schemars-clean.
Fields§
§cell: StringThe cell_key (sheet!addr) this trace describes.
formula: Option<String>The serialized Expr formula (a debug render); None for a literal.
resolved_refs: Vec<(String, CellValue)>Each resolved ref/range-member key + the CellValue it carried in env.
dispatched_fn: Option<String>The semantics::apply function name dispatched (when the cell is a Call).
operand_values: Vec<CellValue>The materialized scalar/range-flattened operands fed to the function/leaf.
coercions: Vec<String>Human-readable coercion notes.
short_circuited: Option<ExcelError>The preflight error this cell short-circuited on, if any (D-04).
Trait Implementations§
Source§impl JsonSchema for EvalTrace
impl JsonSchema for EvalTrace
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for EvalTrace
impl RefUnwindSafe for EvalTrace
impl Send for EvalTrace
impl Sync for EvalTrace
impl Unpin for EvalTrace
impl UnsafeUnpin for EvalTrace
impl UnwindSafe for EvalTrace
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