Enum ExplainLeg
pub enum ExplainLeg {
Cash,
Carry,
Resets,
Axis(RiskAxis),
Unexplained,
}Expand description
What a ladder step moved: the prints that became known, one axis, or everything no axis holds.
Variants§
Cash
Across days, the cash the book was paid after the starting date and up to the ending one, in its reporting currency. First where present.
Carry
Across days, time passing with the quotes held: the book on the starting market’s quotes rebuilt at the ending date, less its value on the starting market. Second where present.
Resets
The prints the ending market holds and the starting market did not, published first. Present only when there are such prints.
Axis(RiskAxis)
One axis’s curves and parameters, as the ending market holds them.
Unexplained
The inputs on no axis, and any axis the caller left out of the order: the last step, which lands on the ending market.
Implementations§
§impl ExplainLeg
impl ExplainLeg
Trait Implementations§
§impl Clone for ExplainLeg
impl Clone for ExplainLeg
§fn clone(&self) -> ExplainLeg
fn clone(&self) -> ExplainLeg
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 moreimpl Copy for ExplainLeg
§impl Debug for ExplainLeg
impl Debug for ExplainLeg
§impl Display for ExplainLeg
impl Display for ExplainLeg
§impl PartialEq for ExplainLeg
impl PartialEq for ExplainLeg
impl StructuralPartialEq for ExplainLeg
Auto Trait Implementations§
impl Freeze for ExplainLeg
impl RefUnwindSafe for ExplainLeg
impl Send for ExplainLeg
impl Sync for ExplainLeg
impl Unpin for ExplainLeg
impl UnsafeUnpin for ExplainLeg
impl UnwindSafe for ExplainLeg
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