pub struct ChatUsageSupplement {
pub cache_write_tokens: Option<i64>,
pub cached_tokens: Option<i64>,
pub reasoning_tokens: Option<i64>,
}Expand description
Actual usage facts absent from an older Chat response. None never means zero.
Fields§
§cache_write_tokens: Option<i64>§cached_tokens: Option<i64>§reasoning_tokens: Option<i64>Trait Implementations§
Source§impl Clone for ChatUsageSupplement
impl Clone for ChatUsageSupplement
impl Copy for ChatUsageSupplement
Source§impl Debug for ChatUsageSupplement
impl Debug for ChatUsageSupplement
Auto Trait Implementations§
impl Freeze for ChatUsageSupplement
impl RefUnwindSafe for ChatUsageSupplement
impl Send for ChatUsageSupplement
impl Sync for ChatUsageSupplement
impl Unpin for ChatUsageSupplement
impl UnsafeUnpin for ChatUsageSupplement
impl UnwindSafe for ChatUsageSupplement
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