Struct CalibratedSurvival
pub struct CalibratedSurvival {
pub curve: IsdaSurvival,
pub solves: Vec<PillarSolve>,
pub provenance: Provenance,
pub refit: Arc<SurvivalRefit>,
}Expand description
A survival curve solved from a ladder of credit default swaps: the ISDA piecewise-flat-hazard curve and one solve record per pillar.
Fields§
§curve: IsdaSurvivalThe solved curve: one hazard segment per rung, in solve order.
solves: Vec<PillarSolve>One entry per pillar, in solve order.
provenance: ProvenanceThe ladder: the rungs and ∂h/∂q, hazard per unit quote — what a
par-basis reading on the credit axis flips through. Always a ladder:
the ISDA curve records exact adjoints, so nothing is withheld.
refit: Arc<SurvivalRefit>What the curve was solved from, kept so it can be solved again under another recovery with its quotes held.
Trait Implementations§
§impl Clone for CalibratedSurvival
impl Clone for CalibratedSurvival
§fn clone(&self) -> CalibratedSurvival
fn clone(&self) -> CalibratedSurvival
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 CalibratedSurvival
impl Debug for CalibratedSurvival
§impl From<CalibratedSurvival> for PinnedSurvival
impl From<CalibratedSurvival> for PinnedSurvival
§fn from(calibrated: CalibratedSurvival) -> Self
fn from(calibrated: CalibratedSurvival) -> Self
A bootstrapped curve pinned with the ladder it reprices.
Auto Trait Implementations§
impl !RefUnwindSafe for CalibratedSurvival
impl !UnwindSafe for CalibratedSurvival
impl Freeze for CalibratedSurvival
impl Send for CalibratedSurvival
impl Sync for CalibratedSurvival
impl Unpin for CalibratedSurvival
impl UnsafeUnpin for CalibratedSurvival
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