pub struct Row {
pub client: &'static str,
pub at_ms: i64,
pub session: String,
pub provider: String,
pub model: String,
pub input: u64,
pub output: u64,
pub cache_read: u64,
pub cache_write: u64,
}Fields§
§client: &'static strWhich local client ran the call — opencode, dsh or pi. Only rows on
PROVIDERS reach this struct, so a client that used the plan is named in
the report rather than silently inflating it.
at_ms: i64§session: String§provider: String§model: String§input: u64§output: 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