Struct Terms
struct Terms {
effective: NaiveDate,
maturity: NaiveDate,
we_buy: bool,
currency: Currency,
notional: f64,
coupon: f64,
}Expand description
The terms every contract states: protection dates, buyer, notional, coupon.
Fields§
§effective: NaiveDate§maturity: NaiveDate§we_buy: bool§currency: Currency§notional: f64§coupon: f64Auto Trait Implementations§
impl Freeze for Terms
impl RefUnwindSafe for Terms
impl Send for Terms
impl Sync for Terms
impl Unpin for Terms
impl UnsafeUnpin for Terms
impl UnwindSafe for Terms
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