pub struct EvalRunOutputItemSampleUsage {
pub cached_tokens: i32,
pub completion_tokens: i32,
pub prompt_tokens: i32,
pub total_tokens: i32,
}
Fields§
§cached_tokens: i32
The number of tokens retrieved from cache.
completion_tokens: i32
The number of completion tokens generated.
prompt_tokens: i32
The number of prompt tokens used.
total_tokens: i32
The total number of tokens used.
Trait Implementations§
Source§impl Debug for EvalRunOutputItemSampleUsage
impl Debug for EvalRunOutputItemSampleUsage
Source§impl<'de> Deserialize<'de> for EvalRunOutputItemSampleUsage
impl<'de> Deserialize<'de> for EvalRunOutputItemSampleUsage
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
Auto Trait Implementations§
impl Freeze for EvalRunOutputItemSampleUsage
impl RefUnwindSafe for EvalRunOutputItemSampleUsage
impl Send for EvalRunOutputItemSampleUsage
impl Sync for EvalRunOutputItemSampleUsage
impl Unpin for EvalRunOutputItemSampleUsage
impl UnwindSafe for EvalRunOutputItemSampleUsage
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