pub struct RunSnapshot {
pub state: RunState,
pub run_id: RunId,
pub session_id: String,
pub iteration: usize,
pub tokens_used: usize,
}Expand description
A snapshot of the current run state for audit and replay.
Fields§
§state: RunStateThe state at the time of the snapshot.
run_id: RunIdThe run identifier.
session_id: StringThe session identifier.
iteration: usizeThe number of iterations completed so far.
tokens_used: usizeThe current token usage.
Trait Implementations§
Source§impl Clone for RunSnapshot
impl Clone for RunSnapshot
Source§fn clone(&self) -> RunSnapshot
fn clone(&self) -> RunSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze 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