pub struct AgentRunResult {
pub output: String,
pub usage: RunUsage,
pub messages: Vec<ModelMessage>,
pub response: ModelResponse,
pub parsed_output: Option<Value>,
pub deferred_calls: Vec<DeferredToolCall>,
pub state: AgentRunState,
}Fields§
§output: String§usage: RunUsage§messages: Vec<ModelMessage>§response: ModelResponse§parsed_output: Option<Value>§deferred_calls: Vec<DeferredToolCall>§state: AgentRunStateTrait Implementations§
Source§impl Clone for AgentRunResult
impl Clone for AgentRunResult
Source§fn clone(&self) -> AgentRunResult
fn clone(&self) -> AgentRunResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AgentRunResult
impl RefUnwindSafe for AgentRunResult
impl Send for AgentRunResult
impl Sync for AgentRunResult
impl Unpin for AgentRunResult
impl UnwindSafe for AgentRunResult
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