pub struct BacktestConfig {
pub max_events: usize,
pub capture_every: usize,
}Expand description
Replay limits.
Fields§
§max_events: usizeHard resource bound; inputs above it fail before executing any model code.
capture_every: usizeCapture one detailed decision step every N events. Curve points remain full.
Trait Implementations§
Source§impl Clone for BacktestConfig
impl Clone for BacktestConfig
Source§fn clone(&self) -> BacktestConfig
fn clone(&self) -> BacktestConfig
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 moreimpl Copy for BacktestConfig
Source§impl Debug for BacktestConfig
impl Debug for BacktestConfig
Source§impl Default for BacktestConfig
impl Default for BacktestConfig
impl Eq for BacktestConfig
Source§impl PartialEq for BacktestConfig
impl PartialEq for BacktestConfig
impl StructuralPartialEq for BacktestConfig
Auto Trait Implementations§
impl Freeze for BacktestConfig
impl RefUnwindSafe for BacktestConfig
impl Send for BacktestConfig
impl Sync for BacktestConfig
impl Unpin for BacktestConfig
impl UnsafeUnpin for BacktestConfig
impl UnwindSafe for BacktestConfig
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