pub struct BacktestSummary {
pub events_processed: usize,
pub actions_applied: usize,
pub initial_value: f64,
pub final_value: f64,
pub total_return: f64,
pub max_drawdown: f64,
}Fields§
§events_processed: usize§actions_applied: usize§initial_value: f64§final_value: f64§total_return: f64§max_drawdown: f64Trait Implementations§
Source§impl Clone for BacktestSummary
impl Clone for BacktestSummary
Source§fn clone(&self) -> BacktestSummary
fn clone(&self) -> BacktestSummary
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 BacktestSummary
impl Debug for BacktestSummary
Source§impl<'de> Deserialize<'de> for BacktestSummary
impl<'de> Deserialize<'de> for BacktestSummary
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 BacktestSummary
impl PartialEq for BacktestSummary
Source§impl Serialize for BacktestSummary
impl Serialize for BacktestSummary
impl StructuralPartialEq for BacktestSummary
Auto Trait Implementations§
impl Freeze for BacktestSummary
impl RefUnwindSafe for BacktestSummary
impl Send for BacktestSummary
impl Sync for BacktestSummary
impl Unpin for BacktestSummary
impl UnsafeUnpin for BacktestSummary
impl UnwindSafe for BacktestSummary
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