Struct CollateralCurves
struct CollateralCurves<'a, R: Scalar> {
pay_discount: ResolvedCurve<'a, R>,
pay_projection: ResolvedCurve<'a, R>,
recv_projection: Option<ResolvedCurve<'a, R>>,
pay_index: Option<&'a str>,
recv_index: Option<&'a str>,
}Expand description
The fixed curves of a collateral ladder: the pay leg’s discount and both legs’ projections.
Fields§
§pay_discount: ResolvedCurve<'a, R>§pay_projection: ResolvedCurve<'a, R>§recv_projection: Option<ResolvedCurve<'a, R>>§pay_index: Option<&'a str>The indices the two projections serve, declared on the view so a leg
finds its curve by name; None where the ladder holds no rung.
recv_index: Option<&'a str>Auto Trait Implementations§
impl<'a, R> !Freeze for CollateralCurves<'a, R>
impl<'a, R> !RefUnwindSafe for CollateralCurves<'a, R>
impl<'a, R> !Sync for CollateralCurves<'a, R>
impl<'a, R> Send for CollateralCurves<'a, R>
impl<'a, R> Unpin for CollateralCurves<'a, R>where
R: Unpin,
impl<'a, R> UnsafeUnpin for CollateralCurves<'a, R>where
R: UnsafeUnpin,
impl<'a, R> UnwindSafe for CollateralCurves<'a, R>where
R: UnwindSafe + RefUnwindSafe,
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