Struct Underlying
struct Underlying {
expiry: NaiveDate,
pay_dates: Vec<NaiveDate>,
accruals: Vec<f64>,
life: f64,
}Expand description
The calibration underlying at one strip point: annual fixed periods between expiry and end on Act/365F dates. Convention-lean by design, and identical on the market and model legs, so the fit compares like with like.
Fields§
§expiry: NaiveDate§pay_dates: Vec<NaiveDate>§accruals: Vec<f64>§life: f64Option life in years.
Auto Trait Implementations§
impl Freeze for Underlying
impl RefUnwindSafe for Underlying
impl Send for Underlying
impl Sync for Underlying
impl Unpin for Underlying
impl UnsafeUnpin for Underlying
impl UnwindSafe for Underlying
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