Struct CmsSpreadLeg
pub struct CmsSpreadLeg {
pub template: String,
pub tenor: Period,
pub projection: String,
pub fixing_key: String,
pub correlation: CmsSpreadCorrelation,
}Expand description
The swap index a CMS spread coupon subtracts, and the correlation that joins its rate to the first’s.
Fields§
§template: StringThe fixed-versus-IBOR swap template the index is quoted on.
tenor: PeriodThe swap tenor.
projection: StringThe projection key of the swap’s floating index.
fixing_key: StringThe key the index’s prints are stored under.
correlation: CmsSpreadCorrelationWhere the correlation between the two rates comes from.
Trait Implementations§
§impl Clone for CmsSpreadLeg
impl Clone for CmsSpreadLeg
§fn clone(&self) -> CmsSpreadLeg
fn clone(&self) -> CmsSpreadLeg
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for CmsSpreadLeg
impl Debug for CmsSpreadLeg
§impl PartialEq for CmsSpreadLeg
impl PartialEq for CmsSpreadLeg
impl StructuralPartialEq for CmsSpreadLeg
Auto Trait Implementations§
impl Freeze for CmsSpreadLeg
impl RefUnwindSafe for CmsSpreadLeg
impl Send for CmsSpreadLeg
impl Sync for CmsSpreadLeg
impl Unpin for CmsSpreadLeg
impl UnsafeUnpin for CmsSpreadLeg
impl UnwindSafe for CmsSpreadLeg
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