pub struct CodexTotals {
pub input_tokens: u64,
pub output_tokens: u64,
pub total_tokens: u64,
pub seconds_running: f64,
}Expand description
Aggregate token and runtime totals.
Fields§
§input_tokens: u64§output_tokens: u64§total_tokens: u64§seconds_running: f64Trait Implementations§
Source§impl Clone for CodexTotals
impl Clone for CodexTotals
Source§fn clone(&self) -> CodexTotals
fn clone(&self) -> CodexTotals
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 moreSource§impl Debug for CodexTotals
impl Debug for CodexTotals
Source§impl Default for CodexTotals
impl Default for CodexTotals
Source§fn default() -> CodexTotals
fn default() -> CodexTotals
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodexTotals
impl<'de> Deserialize<'de> for CodexTotals
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 CodexTotals
impl RefUnwindSafe for CodexTotals
impl Send for CodexTotals
impl Sync for CodexTotals
impl Unpin for CodexTotals
impl UnsafeUnpin for CodexTotals
impl UnwindSafe for CodexTotals
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