pub struct CapturedStep {
pub phase: CapturePhase,
pub prediction_index: u64,
pub records: Vec<CaptureRecord>,
pub interventions: Vec<InterventionRecord>,
pub step_usage: CaptureUsage,
pub cumulative_usage: CaptureUsage,
pub capture_seconds: f64,
}Expand description
One completed step’s bounded records. Timing is measured separately from native forward/sampling time; synchronous callback costs are included in end-to-end time.
Fields§
§phase: CapturePhaseForward phase that produced these captures.
prediction_index: u64Run-relative prediction index; zero is predicted by prefill.
records: Vec<CaptureRecord>At most one record for each admitted selection.
interventions: Vec<InterventionRecord>Attributed intervention outcomes and optional evidence sharing these budgets.
step_usage: CaptureUsageReservations charged to this forward step.
cumulative_usage: CaptureUsageReservations charged since the start of this run.
capture_seconds: f64Wall time spent in capture transforms and capture JSON accounting.
Trait Implementations§
Source§impl Clone for CapturedStep
impl Clone for CapturedStep
Source§fn clone(&self) -> CapturedStep
fn clone(&self) -> CapturedStep
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 moreSource§impl Debug for CapturedStep
impl Debug for CapturedStep
Source§impl<'de> Deserialize<'de> for CapturedStep
impl<'de> Deserialize<'de> for CapturedStep
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CapturedStep
impl PartialEq for CapturedStep
Source§impl Serialize for CapturedStep
impl Serialize for CapturedStep
impl StructuralPartialEq for CapturedStep
Auto Trait Implementations§
impl Freeze for CapturedStep
impl RefUnwindSafe for CapturedStep
impl Send for CapturedStep
impl Sync for CapturedStep
impl Unpin for CapturedStep
impl UnsafeUnpin for CapturedStep
impl UnwindSafe for CapturedStep
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