pub struct LlmRoundOutput {
pub content: String,
pub reasoning_content: String,
pub tool_calls: Vec<ToolCall>,
pub prompt_tokens: u64,
pub completion_tokens: u64,
pub response_id: Option<String>,
pub round_usage: TokenUsage,
}Expand description
Output from a single LLM round execution.
Fields§
§content: String§reasoning_content: String§tool_calls: Vec<ToolCall>§prompt_tokens: u64§completion_tokens: u64§response_id: Option<String>§round_usage: TokenUsageTrait Implementations§
Source§impl Clone for LlmRoundOutput
impl Clone for LlmRoundOutput
Source§fn clone(&self) -> LlmRoundOutput
fn clone(&self) -> LlmRoundOutput
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 LlmRoundOutput
impl RefUnwindSafe for LlmRoundOutput
impl Send for LlmRoundOutput
impl Sync for LlmRoundOutput
impl Unpin for LlmRoundOutput
impl UnsafeUnpin for LlmRoundOutput
impl UnwindSafe for LlmRoundOutput
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