Struct IndexPeriod
struct IndexPeriod<R> {
from: f64,
to: f64,
accrual: f64,
lead: f64,
df_from: R,
df_to: R,
}Expand description
One premium period an index pays after an option’s expiry: years from expiry to its start (expiry itself, for the period running across it) and its payment, its accrual, the years it had accrued by its start, and the forward discount factors from expiry to its start and payment.
Fields§
§from: f64§to: f64§accrual: f64§lead: f64§df_from: R§df_to: RImplementations§
§impl<R: Scalar> IndexPeriod<R>
impl<R: Scalar> IndexPeriod<R>
Auto Trait Implementations§
impl<R> Freeze for IndexPeriod<R>where
R: Freeze,
impl<R> RefUnwindSafe for IndexPeriod<R>where
R: RefUnwindSafe,
impl<R> Send for IndexPeriod<R>where
R: Send,
impl<R> Sync for IndexPeriod<R>where
R: Sync,
impl<R> Unpin for IndexPeriod<R>where
R: Unpin,
impl<R> UnsafeUnpin for IndexPeriod<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for IndexPeriod<R>where
R: UnwindSafe,
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