Struct CapQuote
pub struct CapQuote {
pub termination: NaiveDate,
pub vol: f64,
}Expand description
A term cap quote: the cap from the strip’s effective date to termination,
quoted as one flat volatility.
Fields§
§termination: NaiveDateThe cap’s termination date.
vol: f64The flat vol the whole cap is quoted at, in the convention’s units.
Trait Implementations§
impl Copy for CapQuote
impl StructuralPartialEq for CapQuote
Auto Trait Implementations§
impl Freeze for CapQuote
impl RefUnwindSafe for CapQuote
impl Send for CapQuote
impl Sync for CapQuote
impl Unpin for CapQuote
impl UnsafeUnpin for CapQuote
impl UnwindSafe for CapQuote
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