pub struct TrajectoryStep {Show 13 fields
pub step_id: String,
pub timestamp_ms: i64,
pub adapter: String,
pub operation: String,
pub inputs_preview: Option<String>,
pub outputs_preview: Option<String>,
pub duration_ms: u64,
pub success: bool,
pub error: Option<String>,
pub vitals: Option<CognitiveVitals>,
pub freshness_at_step: Option<ContextFreshness>,
pub frame_vars: Option<Value>,
pub tool_telemetry: Option<Value>,
}Expand description
One step in an execution trajectory (tool / adapter granularity).
Fields§
§step_id: String§timestamp_ms: i64Unix epoch milliseconds.
adapter: String§operation: String§inputs_preview: Option<String>§outputs_preview: Option<String>§duration_ms: u64§success: bool§error: Option<String>§vitals: Option<CognitiveVitals>§freshness_at_step: Option<ContextFreshness>§frame_vars: Option<Value>Optional per-step state snapshot (host-defined JSON, e.g. turn counters, budget).
tool_telemetry: Option<Value>Optional structured tool telemetry (latency breakdown, I/O, HTTP, etc.).
Trait Implementations§
Source§impl Clone for TrajectoryStep
impl Clone for TrajectoryStep
Source§fn clone(&self) -> TrajectoryStep
fn clone(&self) -> TrajectoryStep
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 TrajectoryStep
impl Debug for TrajectoryStep
Source§impl<'de> Deserialize<'de> for TrajectoryStep
impl<'de> Deserialize<'de> for TrajectoryStep
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TrajectoryStep, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TrajectoryStep, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TrajectoryStep
impl PartialEq for TrajectoryStep
Source§fn eq(&self, other: &TrajectoryStep) -> bool
fn eq(&self, other: &TrajectoryStep) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TrajectoryStep
impl Serialize for TrajectoryStep
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for TrajectoryStep
Auto Trait Implementations§
impl Freeze for TrajectoryStep
impl RefUnwindSafe for TrajectoryStep
impl Send for TrajectoryStep
impl Sync for TrajectoryStep
impl Unpin for TrajectoryStep
impl UnsafeUnpin for TrajectoryStep
impl UnwindSafe for TrajectoryStep
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