pub struct TurnStats {
pub prompt_tokens: u64,
pub completion_tokens: u64,
pub elapsed_ms: u64,
pub model_calls: u64,
}Fields§
§prompt_tokens: u64§completion_tokens: u64§elapsed_ms: u64§model_calls: u64Model requests the reply took (tool rounds and compactions included).
Trait Implementations§
impl Copy for TurnStats
Source§impl<'de> Deserialize<'de> for TurnStats
impl<'de> Deserialize<'de> for TurnStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for TurnStats
Auto Trait Implementations§
impl Forget for TurnStats
impl Freeze for TurnStats
impl Move for TurnStats
impl RefUnwindSafe for TurnStats
impl Send for TurnStats
impl Sync for TurnStats
impl Unpin for TurnStats
impl UnsafeUnpin for TurnStats
impl UnwindSafe for TurnStats
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