pub struct BacktestRun {
pub id: BacktestRunId,
pub definition: Option<BacktestDefinition>,
pub input_snapshot: Value,
pub status: BacktestRunStatus,
pub report: Option<Value>,
pub error_message: Option<String>,
}Expand description
Durable replay record; computation resumes from these snapshots, never a mutable definition.
Fields§
§id: BacktestRunIdStable Run identity.
definition: Option<BacktestDefinition>Frozen definition, absent only for legacy runs whose original version is unknowable.
input_snapshot: ValueImmutable replay inputs.
status: BacktestRunStatusCurrent terminal or running state.
report: Option<Value>Bounded result when completed.
error_message: Option<String>Failure diagnostic when failed.
Trait Implementations§
Source§impl Clone for BacktestRun
impl Clone for BacktestRun
Source§fn clone(&self) -> BacktestRun
fn clone(&self) -> BacktestRun
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 BacktestRun
impl Debug for BacktestRun
Source§impl<'de> Deserialize<'de> for BacktestRun
impl<'de> Deserialize<'de> for BacktestRun
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 BacktestRun
impl PartialEq for BacktestRun
Source§impl Serialize for BacktestRun
impl Serialize for BacktestRun
impl StructuralPartialEq for BacktestRun
Auto Trait Implementations§
impl Freeze for BacktestRun
impl RefUnwindSafe for BacktestRun
impl Send for BacktestRun
impl Sync for BacktestRun
impl Unpin for BacktestRun
impl UnsafeUnpin for BacktestRun
impl UnwindSafe for BacktestRun
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