pub struct Row {
pub client: &'static str,
pub at_ms: i64,
pub session: String,
pub provider: String,
pub model: String,
pub cost_usd: f64,
pub input: u64,
pub output: u64,
pub reasoning: u64,
pub cache_read: u64,
pub cache_write: u64,
}Fields§
§client: &'static strWhich local client ran the call — opencode, dsh or pi. The report
names every client it counted, since only opencode’s own store was visible
before and a total that silently grew would look like a drift.
at_ms: i64§session: String§provider: String§model: String§cost_usd: f64§input: u64§output: u64§reasoning: u64§cache_read: u64§cache_write: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for Row
impl RefUnwindSafe for Row
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl UnsafeUnpin for Row
impl UnwindSafe for Row
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