Struct Reset
pub struct Reset {
pub accrual_start: NaiveDate,
pub accrual_end: NaiveDate,
pub tau: f64,
pub fixing_date: NaiveDate,
pub window: FixingWindow,
}Expand description
One reset of a MultiResetCoupon: its sub-period, its fixing date, and
the index window it projects over.
Fields§
§accrual_start: NaiveDateSub-period accrual start.
accrual_end: NaiveDateSub-period accrual end.
tau: f64The sub-period’s year fraction on the coupon’s day count.
fixing_date: NaiveDateThe date the index fixes for this sub-period.
window: FixingWindowThe index’s own rate window for this reset.
Trait Implementations§
impl Copy for Reset
impl StructuralPartialEq for Reset
Auto Trait Implementations§
impl Freeze for Reset
impl RefUnwindSafe for Reset
impl Send for Reset
impl Sync for Reset
impl Unpin for Reset
impl UnsafeUnpin for Reset
impl UnwindSafe for Reset
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