Struct FixingWindow
pub struct FixingWindow {
pub start: NaiveDate,
pub end: NaiveDate,
pub tau: f64,
}Expand description
The window an index’s own rate spans, and the basis it is quoted on.
Not the coupon’s accrual period. A 3M EURIBOR coupon whose adjusted
accrual runs 94 days still fixes on the 3M rate: this pins the pair of dates
the forward is read between and the year fraction it is divided by, while the
coupon’s own accrual tau drives the amount. Built once, curve-free, when
the coupon is constructed.
Fields§
§start: NaiveDateWhere the index’s rate period starts.
end: NaiveDateWhere it ends.
tau: f64The year fraction the index quotes over, on the index’s own day count.
Trait Implementations§
§impl Clone for FixingWindow
impl Clone for FixingWindow
§fn clone(&self) -> FixingWindow
fn clone(&self) -> FixingWindow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FixingWindow
§impl Debug for FixingWindow
impl Debug for FixingWindow
§impl PartialEq for FixingWindow
impl PartialEq for FixingWindow
impl StructuralPartialEq for FixingWindow
Auto Trait Implementations§
impl Freeze for FixingWindow
impl RefUnwindSafe for FixingWindow
impl Send for FixingWindow
impl Sync for FixingWindow
impl Unpin for FixingWindow
impl UnsafeUnpin for FixingWindow
impl UnwindSafe for FixingWindow
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