pub struct FixedVsFloatingSwapResults {
pub swap: SwapResults,
pub fair_rate: Option<Rate>,
pub fair_spread: Option<Spread>,
}Expand description
Results returned by a fixed-vs-floating swap engine (the C++
FixedVsFloatingSwap::results, which derives from Swap::results).
Fields§
§swap: SwapResultsThe swap-level results (leg NPVs, BPS and discounts).
fair_rate: Option<Rate>The fair fixed rate that zeroes the swap NPV.
fair_spread: Option<Spread>The fair spread over the floating index that zeroes the swap NPV.
Trait Implementations§
Source§impl Default for FixedVsFloatingSwapResults
impl Default for FixedVsFloatingSwapResults
Source§fn default() -> FixedVsFloatingSwapResults
fn default() -> FixedVsFloatingSwapResults
Returns the “default value” for a type. Read more
Source§impl Results for FixedVsFloatingSwapResults
impl Results for FixedVsFloatingSwapResults
Source§fn as_instrument_results(&self) -> Option<&InstrumentResults>
fn as_instrument_results(&self) -> Option<&InstrumentResults>
The instrument-level slice of the bundle, when the bundle carries one. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for FixedVsFloatingSwapResults
impl !Send for FixedVsFloatingSwapResults
impl !Sync for FixedVsFloatingSwapResults
impl !UnwindSafe for FixedVsFloatingSwapResults
impl Freeze for FixedVsFloatingSwapResults
impl Unpin for FixedVsFloatingSwapResults
impl UnsafeUnpin for FixedVsFloatingSwapResults
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