Struct ValuationTrigger
pub struct ValuationTrigger {
pub level: f64,
pub monitoring: Vec<NaiveDate>,
pub liquidation_lag_days: u32,
}Expand description
A valuation trigger: the deal terminates when the collateral’s market value
falls below level of notional on a monitoring date, and the collateral is
sold liquidation_lag_days later.
Fields§
§level: f64The trigger level as a fraction of notional, in (0, 1).
monitoring: Vec<NaiveDate>The monitoring dates, ascending.
liquidation_lag_days: u32Calendar days from a breach to the sale.
Trait Implementations§
§impl Clone for ValuationTrigger
impl Clone for ValuationTrigger
§fn clone(&self) -> ValuationTrigger
fn clone(&self) -> ValuationTrigger
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 ValuationTrigger
impl Debug for ValuationTrigger
§impl PartialEq for ValuationTrigger
impl PartialEq for ValuationTrigger
§fn eq(&self, other: &ValuationTrigger) -> bool
fn eq(&self, other: &ValuationTrigger) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ValuationTrigger
Auto Trait Implementations§
impl Freeze for ValuationTrigger
impl RefUnwindSafe for ValuationTrigger
impl Send for ValuationTrigger
impl Sync for ValuationTrigger
impl Unpin for ValuationTrigger
impl UnsafeUnpin for ValuationTrigger
impl UnwindSafe for ValuationTrigger
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