pub struct AgentStepResult {
pub output: Value,
pub tokens: u64,
pub cost_micros: Option<u64>,
pub failure: Option<WorkflowFailure>,
pub attempt_id: Option<String>,
}Fields§
§output: Value§tokens: u64§cost_micros: Option<u64>§failure: Option<WorkflowFailure>A completed attempt may fail after consuming tokens; its usage still counts.
attempt_id: Option<String>Process-local ownership handoff; absent for ports without retained results.
Trait Implementations§
Source§impl Clone for AgentStepResult
impl Clone for AgentStepResult
Auto Trait Implementations§
impl Freeze for AgentStepResult
impl RefUnwindSafe for AgentStepResult
impl Send for AgentStepResult
impl Sync for AgentStepResult
impl Unpin for AgentStepResult
impl UnsafeUnpin for AgentStepResult
impl UnwindSafe for AgentStepResult
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