pub struct UseRecord {
pub at: Option<String>,
pub at_ms: Option<i64>,
pub model: String,
pub tokens: RecordedTokens,
pub fast: bool,
pub us_only: bool,
}Expand description
One response’s (Claude Code) or one turn’s (Codex) recorded use.
Fields§
§at: Option<String>When the harness recorded it.
at_ms: Option<i64>The same, in unix milliseconds.
model: StringThe model that answered.
tokens: RecordedTokensWhat it used.
fast: boolWhether it ran in fast mode (usage.speed: "fast").
us_only: boolWhether it ran US-only (usage.inference_geo: "us").
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UseRecord
impl RefUnwindSafe for UseRecord
impl Send for UseRecord
impl Sync for UseRecord
impl Unpin for UseRecord
impl UnsafeUnpin for UseRecord
impl UnwindSafe for UseRecord
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