Struct ResetPnl
pub struct ResetPnl {
pub rows: Vec<ResetRow>,
pub before: f64,
pub after: f64,
pub total: f64,
}Expand description
The reset step read per print.
Fields§
§rows: Vec<ResetRow>One row per print published or restated, in date order.
before: f64The book’s value with each print standing at the forecast it replaced: what the book carried while the prints were projected.
after: f64The book’s value with every print published.
total: f64The step itself, after − before — what the rows’ pnl sum to
within round-off, and what the ladder’s ExplainLeg::Resets leg
carries, bit for bit.
Implementations§
Trait Implementations§
impl StructuralPartialEq for ResetPnl
Auto Trait Implementations§
impl Freeze for ResetPnl
impl RefUnwindSafe for ResetPnl
impl Send for ResetPnl
impl Sync for ResetPnl
impl Unpin for ResetPnl
impl UnsafeUnpin for ResetPnl
impl UnwindSafe for ResetPnl
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