pub struct GoalProgress {
pub tokens_used: u64,
pub time_used_seconds: u64,
pub continuations: u32,
}Expand description
Accumulated, durable progress for a goal run. Mirrors the fields wired by
crates/state record_thread_goal_usage (tokens_used / time_used_seconds)
plus a continuation counter the loop maintains.
Fields§
§tokens_used: u64§time_used_seconds: u64§continuations: u32Trait Implementations§
Source§impl Clone for GoalProgress
impl Clone for GoalProgress
impl Copy for GoalProgress
Source§impl Debug for GoalProgress
impl Debug for GoalProgress
Source§impl Default for GoalProgress
impl Default for GoalProgress
impl Eq for GoalProgress
Source§impl PartialEq for GoalProgress
impl PartialEq for GoalProgress
impl StructuralPartialEq for GoalProgress
Auto Trait Implementations§
impl Freeze for GoalProgress
impl RefUnwindSafe for GoalProgress
impl Send for GoalProgress
impl Sync for GoalProgress
impl Unpin for GoalProgress
impl UnsafeUnpin for GoalProgress
impl UnwindSafe for GoalProgress
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.