pub struct Step {
pub step_id: u64,
pub timestamp: Option<String>,
pub source: StepSource,
pub model_name: Option<String>,
pub message: Option<String>,
pub reasoning_content: Option<String>,
pub tool_calls: Option<Vec<AtifToolCall>>,
pub observation: Option<Observation>,
pub metrics: Option<StepMetrics>,
pub extra: Option<Value>,
}Expand description
Individual interaction step.
Fields§
§step_id: u64Ordinal index (starting from 1).
timestamp: Option<String>ISO 8601 timestamp.
source: StepSourceOriginator of this step.
model_name: Option<String>LLM model used for this step (agent steps only).
message: Option<String>Step content — text message or array.
reasoning_content: Option<String>Agent internal reasoning content.
tool_calls: Option<Vec<AtifToolCall>>Tool/function invocations (agent steps only).
observation: Option<Observation>Environment feedback after actions.
metrics: Option<StepMetrics>LLM operational metrics (agent steps only).
extra: Option<Value>Custom step-level metadata.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Step
impl<'de> Deserialize<'de> for Step
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 Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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