Struct CdsOptionValue
pub struct CdsOptionValue {
pub value: f64,
pub forward: f64,
pub annuity: f64,
}Expand description
A single-name CDS option’s value, and the forward it was struck against.
Fields§
§value: f64A·Black(F, K, σ, T), in money on the underlying’s notional.
forward: f64F: the forward CDS spread, the underlying’s protection over its annuity.
annuity: f64A: the forward risky annuity, survival-weighted from the valuation
date — which is what knocks the option out on a default before expiry.
Trait Implementations§
§impl Clone for CdsOptionValue
impl Clone for CdsOptionValue
§fn clone(&self) -> CdsOptionValue
fn clone(&self) -> CdsOptionValue
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 moreimpl Copy for CdsOptionValue
§impl Debug for CdsOptionValue
impl Debug for CdsOptionValue
§impl PartialEq for CdsOptionValue
impl PartialEq for CdsOptionValue
impl StructuralPartialEq for CdsOptionValue
Auto Trait Implementations§
impl Freeze for CdsOptionValue
impl RefUnwindSafe for CdsOptionValue
impl Send for CdsOptionValue
impl Sync for CdsOptionValue
impl Unpin for CdsOptionValue
impl UnsafeUnpin for CdsOptionValue
impl UnwindSafe for CdsOptionValue
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