pub struct RunSpend {
pub input_tokens: u64,
pub output_tokens: u64,
pub usd_micros: u64,
pub wall_ms: u64,
}Expand description
The spent figures of a terminal run_outcome Observation
(spent_input_tokens … spent_wall_ms), integers as the runtime wrote
them.
Fields§
§input_tokens: u64§output_tokens: u64§usd_micros: u64§wall_ms: u64Trait Implementations§
impl Copy for RunSpend
impl Eq for RunSpend
impl StructuralPartialEq for RunSpend
Auto Trait Implementations§
impl Freeze for RunSpend
impl RefUnwindSafe for RunSpend
impl Send for RunSpend
impl Sync for RunSpend
impl Unpin for RunSpend
impl UnsafeUnpin for RunSpend
impl UnwindSafe for RunSpend
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