Enum RefitForm
pub enum RefitForm {
SelfDiscounting,
ProjectionOver(Curve),
ProjectionUnder {
discount: Box<Curve>,
foreign: Box<Curve>,
},
CollateralUnder {
pay_discount: Box<Curve>,
pay_projection: Box<Curve>,
recv_projection: Option<Box<Curve>>,
},
}Expand description
The form a rate ladder was solved in, with the curves it held fixed — the owned twin of the solve’s own form, so a refit can name it again.
Variants§
SelfDiscounting
calibrate: the curve discounts and projects every rung.
ProjectionOver(Curve)
calibrate_with: the curve projects over this held discount.
ProjectionUnder
calibrate_projection_under: the curve projects over these held
discounts.
Fields
CollateralUnder
calibrate_cross_currency: the curve is the receive leg’s collateral
discount under these held curves.
Trait Implementations§
impl StructuralPartialEq for RefitForm
Auto Trait Implementations§
impl Freeze for RefitForm
impl RefUnwindSafe for RefitForm
impl Send for RefitForm
impl Sync for RefitForm
impl Unpin for RefitForm
impl UnsafeUnpin for RefitForm
impl UnwindSafe for RefitForm
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