pub struct RunSnapshot {
pub turn: u32,
pub tool_calls: u32,
pub usage: Usage,
pub elapsed: Duration,
}Expand description
What a StopCondition can see.
Fields§
§turn: u32§tool_calls: u32§usage: UsageUsage of the current run.
elapsed: DurationTrait Implementations§
Source§impl Clone for RunSnapshot
impl Clone for RunSnapshot
impl Copy for RunSnapshot
Source§impl Debug for RunSnapshot
impl Debug for RunSnapshot
Source§impl PartialEq for RunSnapshot
impl PartialEq for RunSnapshot
impl StructuralPartialEq for RunSnapshot
Auto Trait Implementations§
impl Forget for RunSnapshot
impl Freeze for RunSnapshot
impl Move for RunSnapshot
impl RefUnwindSafe for RunSnapshot
impl Send for RunSnapshot
impl Sync for RunSnapshot
impl Unpin for RunSnapshot
impl UnsafeUnpin for RunSnapshot
impl UnwindSafe for RunSnapshot
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