pub struct AgentOutcome {
pub final_message: Option<String>,
pub transcript: Vec<Message>,
pub steps: usize,
pub finish: FinishReason,
pub total_usage: TokenUsage,
pub total_llm_latency_ms: u64,
}Fields§
§final_message: Option<String>§transcript: Vec<Message>§steps: usize§finish: FinishReason§total_usage: TokenUsage§total_llm_latency_ms: u64Trait Implementations§
Source§impl Clone for AgentOutcome
impl Clone for AgentOutcome
Source§fn clone(&self) -> AgentOutcome
fn clone(&self) -> AgentOutcome
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 moreAuto Trait Implementations§
impl Freeze for AgentOutcome
impl RefUnwindSafe for AgentOutcome
impl Send for AgentOutcome
impl Sync for AgentOutcome
impl Unpin for AgentOutcome
impl UnsafeUnpin for AgentOutcome
impl UnwindSafe for AgentOutcome
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