Struct Period
struct Period {
days: i64,
year_fraction: f64,
index_rate: Option<(f64, bool)>,
}Expand description
One calculation period of a priced coupon.
Fields§
§days: i64§year_fraction: f64§index_rate: Option<(f64, bool)>The index rate before gearing and spread, and whether it is a print
rather than a projection; None on a fixed coupon.
Auto Trait Implementations§
impl Freeze for Period
impl RefUnwindSafe for Period
impl Send for Period
impl Sync for Period
impl Unpin for Period
impl UnsafeUnpin for Period
impl UnwindSafe for Period
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