pub struct UsageRow {
pub node_id: String,
pub worker: String,
pub prompt_tokens: u64,
pub completion_tokens: u64,
pub wall_ms: u64,
pub ts: u64,
}Expand description
One recorded worker invocation, for rinne logs.
Fields§
§node_id: String§worker: String§prompt_tokens: u64§completion_tokens: u64§wall_ms: u64§ts: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for UsageRow
impl RefUnwindSafe for UsageRow
impl Send for UsageRow
impl Sync for UsageRow
impl Unpin for UsageRow
impl UnsafeUnpin for UsageRow
impl UnwindSafe for UsageRow
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