Struct WindowTerms
struct WindowTerms<'a> {
index: &'a OvernightIndex,
fixed_day_count: DayCountFraction,
calendar: Arc<dyn Calendar>,
payment_lag_days: i32,
}Expand description
What a one-period window swap is built from, read off either overnight template: the meeting template and the plain OIS template differ in what they know about a window’s identity, not in how the swap over it is built.
Fields§
§index: &'a OvernightIndex§fixed_day_count: DayCountFraction§calendar: Arc<dyn Calendar>§payment_lag_days: i32Implementations§
§impl<'a> WindowTerms<'a>
impl<'a> WindowTerms<'a>
fn meeting(t: &'a MeetingOisTemplate) -> Self
fn ois(t: &'a OisTemplate) -> Self
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for WindowTerms<'a>
impl<'a> !UnwindSafe for WindowTerms<'a>
impl<'a> Freeze for WindowTerms<'a>
impl<'a> Send for WindowTerms<'a>
impl<'a> Sync for WindowTerms<'a>
impl<'a> Unpin for WindowTerms<'a>
impl<'a> UnsafeUnpin for WindowTerms<'a>
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