pub struct PerformanceBenchmark {
pub start_ts_ms: Option<i64>,
pub end_ts_ms: Option<i64>,
pub duration_ms: Option<i64>,
pub quote_count: usize,
pub starting_balance_usdc: Option<String>,
pub ending_balance_usdc: Option<String>,
pub instrument: Option<String>,
}Expand description
Benchmark context for a performance snapshot.
Fields§
§start_ts_ms: Option<i64>First equity point timestamp.
end_ts_ms: Option<i64>Last equity point timestamp.
duration_ms: Option<i64>Duration between first and last equity points.
quote_count: usizeNumber of quote updates observed.
starting_balance_usdc: Option<String>Starting balance as a decimal string.
ending_balance_usdc: Option<String>Ending balance as a decimal string.
instrument: Option<String>Instrument scope for the run.
Trait Implementations§
Source§impl Clone for PerformanceBenchmark
impl Clone for PerformanceBenchmark
Source§fn clone(&self) -> PerformanceBenchmark
fn clone(&self) -> PerformanceBenchmark
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 PerformanceBenchmark
impl Debug for PerformanceBenchmark
Source§impl<'de> Deserialize<'de> for PerformanceBenchmark
impl<'de> Deserialize<'de> for PerformanceBenchmark
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 PerformanceBenchmark
impl RefUnwindSafe for PerformanceBenchmark
impl Send for PerformanceBenchmark
impl Sync for PerformanceBenchmark
impl Unpin for PerformanceBenchmark
impl UnsafeUnpin for PerformanceBenchmark
impl UnwindSafe for PerformanceBenchmark
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