pub struct Totals {
pub all_time_tokens: u64,
pub today_tokens: u64,
pub last_7_days_tokens: u64,
pub event_count: usize,
pub session_count: usize,
pub input_tokens: u64,
pub cached_input_tokens: u64,
pub output_tokens: u64,
pub reasoning_output_tokens: u64,
}Fields§
§all_time_tokens: u64§today_tokens: u64§last_7_days_tokens: u64§event_count: usize§session_count: usize§input_tokens: u64§cached_input_tokens: u64§output_tokens: u64§reasoning_output_tokens: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for Totals
impl<'de> Deserialize<'de> for Totals
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 Eq for Totals
impl StructuralPartialEq for Totals
Auto Trait Implementations§
impl Freeze for Totals
impl RefUnwindSafe for Totals
impl Send for Totals
impl Sync for Totals
impl Unpin for Totals
impl UnsafeUnpin for Totals
impl UnwindSafe for Totals
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