pub struct CodexUse { /* private fields */ }Expand description
Codex’s cumulative token_count totals, read in order: each change is one turn’s use. Codex counts cached prompt
tokens inside input_tokens; a use separates them, as Claude’s usage does. The model is the latest
turn_context’s.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CodexUse
impl RefUnwindSafe for CodexUse
impl Send for CodexUse
impl Sync for CodexUse
impl Unpin for CodexUse
impl UnsafeUnpin for CodexUse
impl UnwindSafe for CodexUse
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