Struct OptionTerms
struct OptionTerms {
gearing: f64,
spread: f64,
currency: Currency,
expiry: f64,
variance: f64,
tenor: f64,
}Expand description
What the optionlets on a coupon’s rate read: the rate’s gearing and spread, the currency whose cap vols price them, the time the vol is read at and the time its variance accrues over, and the surface’s tenor column.
Fields§
§gearing: f64§spread: f64§currency: Currency§expiry: f64§variance: f64§tenor: f64Auto Trait Implementations§
impl Freeze for OptionTerms
impl RefUnwindSafe for OptionTerms
impl Send for OptionTerms
impl Sync for OptionTerms
impl Unpin for OptionTerms
impl UnsafeUnpin for OptionTerms
impl UnwindSafe for OptionTerms
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