pub struct RunTrajectory {
pub window_start: usize,
pub window_end: usize,
pub seed: u64,
pub steps: Vec<DecisionStep>,
}Expand description
One captured backtest run (a single window × seed): the ordered sequence of the agent’s raw decision steps, plus the (window, seed) coordinates needed to replay it through the identical point-in-time engine path.
Fields§
§window_start: usizeInclusive window start (dataset index of the first decision step).
window_end: usizeExclusive window end.
seed: u64Execution seed the run was driven with (governs slippage noise on replay).
steps: Vec<DecisionStep>The raw decisions, in step order.
Trait Implementations§
Source§impl Clone for RunTrajectory
impl Clone for RunTrajectory
Source§fn clone(&self) -> RunTrajectory
fn clone(&self) -> RunTrajectory
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 RunTrajectory
impl Debug for RunTrajectory
Source§impl<'de> Deserialize<'de> for RunTrajectory
impl<'de> Deserialize<'de> for RunTrajectory
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
Auto Trait Implementations§
impl Freeze for RunTrajectory
impl RefUnwindSafe for RunTrajectory
impl Send for RunTrajectory
impl Sync for RunTrajectory
impl Unpin for RunTrajectory
impl UnsafeUnpin for RunTrajectory
impl UnwindSafe for RunTrajectory
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