Struct RiskEntry
pub struct RiskEntry {
pub id: MarketInputId,
pub value: f64,
}Expand description
One entry of a risk vector: an input, and the derivative of the valuation with respect to it.
Fields§
§id: MarketInputIdThe market input this derivative attributes to.
value: f64∂value/∂input, in the input’s own units.
Trait Implementations§
impl StructuralPartialEq for RiskEntry
Auto Trait Implementations§
impl Freeze for RiskEntry
impl RefUnwindSafe for RiskEntry
impl Send for RiskEntry
impl Sync for RiskEntry
impl Unpin for RiskEntry
impl UnsafeUnpin for RiskEntry
impl UnwindSafe for RiskEntry
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