Struct CmsRate
pub struct CmsRate<R> {
pub forward: R,
pub rate: R,
}Expand description
A CMS rate: the index swap’s forward and the rate a payment on it is worth.
Fields§
§forward: RThe forward swap rate S₀ of the index’s swap.
rate: RThe convexity-adjusted rate, S₀ + a · Var / α₀.
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for CmsRate<R>where
R: Freeze,
impl<R> RefUnwindSafe for CmsRate<R>where
R: RefUnwindSafe,
impl<R> Send for CmsRate<R>where
R: Send,
impl<R> Sync for CmsRate<R>where
R: Sync,
impl<R> Unpin for CmsRate<R>where
R: Unpin,
impl<R> UnsafeUnpin for CmsRate<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for CmsRate<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