Struct IndexSettlement
pub struct IndexSettlement {
pub entity: String,
pub event_date: NaiveDate,
pub protection: f64,
pub accrued: f64,
}Expand description
What a credit event settles on an index position, each amount signed to
the holder: the protection on the defaulted weight, notional·w·(1 − R),
received by a protection buyer; and the premium accrued on that weight
over the running period to the event date, paid by the buyer.
Fields§
§entity: StringThe defaulted entity.
event_date: NaiveDateThe event date.
protection: f64The protection, signed to the holder.
accrued: f64The accrued premium on the defaulted weight, signed to the holder.
Trait Implementations§
§impl Clone for IndexSettlement
impl Clone for IndexSettlement
§fn clone(&self) -> IndexSettlement
fn clone(&self) -> IndexSettlement
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 IndexSettlement
impl Debug for IndexSettlement
§impl PartialEq for IndexSettlement
impl PartialEq for IndexSettlement
impl StructuralPartialEq for IndexSettlement
Auto Trait Implementations§
impl Freeze for IndexSettlement
impl RefUnwindSafe for IndexSettlement
impl Send for IndexSettlement
impl Sync for IndexSettlement
impl Unpin for IndexSettlement
impl UnsafeUnpin for IndexSettlement
impl UnwindSafe for IndexSettlement
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