pub struct ForkedAgentResult {
pub messages: Vec<Message>,
pub total_usage: Usage,
}Expand description
Result from a forked agent query.
Fields§
§messages: Vec<Message>All messages yielded during the query loop
total_usage: UsageAccumulated usage across all API calls in the loop
Auto Trait Implementations§
impl Freeze for ForkedAgentResult
impl RefUnwindSafe for ForkedAgentResult
impl Send for ForkedAgentResult
impl Sync for ForkedAgentResult
impl Unpin for ForkedAgentResult
impl UnsafeUnpin for ForkedAgentResult
impl UnwindSafe for ForkedAgentResult
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