pub struct BacktestProjection<A> {
pub summary: BacktestSummary,
pub value_curve: Vec<ValuePoint>,
pub steps: Vec<ReplayStep<A>>,
pub total_curve_points: usize,
pub total_steps: usize,
}Expand description
A transport/chat-safe projection of a potentially large full report.
Fields§
§summary: BacktestSummaryShort human-readable summary.
value_curve: Vec<ValuePoint>Down-sampled value curve.
steps: Vec<ReplayStep<A>>Capped decision traces.
total_curve_points: usizeCurve points before capping.
total_steps: usizeSteps before capping.
Trait Implementations§
Source§impl<A: Clone> Clone for BacktestProjection<A>
impl<A: Clone> Clone for BacktestProjection<A>
Source§fn clone(&self) -> BacktestProjection<A>
fn clone(&self) -> BacktestProjection<A>
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<A: Debug> Debug for BacktestProjection<A>
impl<A: Debug> Debug for BacktestProjection<A>
Source§impl<'de, A> Deserialize<'de> for BacktestProjection<A>where
A: Deserialize<'de>,
impl<'de, A> Deserialize<'de> for BacktestProjection<A>where
A: Deserialize<'de>,
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<A: PartialEq> PartialEq for BacktestProjection<A>
impl<A: PartialEq> PartialEq for BacktestProjection<A>
Source§impl<A> Serialize for BacktestProjection<A>where
A: Serialize,
impl<A> Serialize for BacktestProjection<A>where
A: Serialize,
impl<A: PartialEq> StructuralPartialEq for BacktestProjection<A>
Auto Trait Implementations§
impl<A> Freeze for BacktestProjection<A>
impl<A> RefUnwindSafe for BacktestProjection<A>
impl<A> Send for BacktestProjection<A>
impl<A> Sync for BacktestProjection<A>
impl<A> Unpin for BacktestProjection<A>
impl<A> UnsafeUnpin for BacktestProjection<A>
impl<A> UnwindSafe for BacktestProjection<A>
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