Struct CreditEntry
struct CreditEntry {
curve: Arc<Survival>,
recovery: Option<f64>,
}Expand description
An entity’s credit data as the market stores it.
Fields§
§curve: Arc<Survival>§recovery: Option<f64>The stated recovery the curve is quoted against. Lifted: one parameter
on the Recovery axis, so a
product that settles default at the market recovery reports its
sensitivity to it — with the curve held, as the bump analytic does.
It rides with the curve rather than as a mark because a refit under a
moved recovery needs both, and because reading one without the other
hands back a curve whose units are unrecoverable.
Trait Implementations§
§impl Clone for CreditEntry
impl Clone for CreditEntry
§fn clone(&self) -> CreditEntry
fn clone(&self) -> CreditEntry
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 CreditEntry
impl Debug for CreditEntry
§impl PartialEq for CreditEntry
impl PartialEq for CreditEntry
impl StructuralPartialEq for CreditEntry
Auto Trait Implementations§
impl Freeze for CreditEntry
impl RefUnwindSafe for CreditEntry
impl Send for CreditEntry
impl Sync for CreditEntry
impl Unpin for CreditEntry
impl UnsafeUnpin for CreditEntry
impl UnwindSafe for CreditEntry
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