Struct Row
pub(crate) struct Row {Show 17 fields
pub(crate) kind: &'static str,
pub(crate) direction: &'static str,
pub(crate) currency: String,
pub(crate) accrual_start: Option<NaiveDate>,
pub(crate) accrual_end: Option<NaiveDate>,
pub(crate) payment_date: Option<NaiveDate>,
pub(crate) fixing_date: Option<NaiveDate>,
pub(crate) notional: f64,
pub(crate) year_fraction: f64,
pub(crate) rate: f64,
pub(crate) amount: f64,
pub(crate) discount_factor: f64,
pub(crate) pv: f64,
pub(crate) settlement_currency: String,
pub(crate) fx_fixing_date: Option<NaiveDate>,
pub(crate) leg: f64,
pub(crate) index: String,
}Expand description
One row’s worth of numbers, before they are transposed into columns.
Crate-visible so a product whose flows are no leg’s coupons — a linker’s
indexed flows — tables them through assemble into the same columns.
Fields§
§kind: &'static str§direction: &'static str§currency: String§accrual_start: Option<NaiveDate>§accrual_end: Option<NaiveDate>§payment_date: Option<NaiveDate>§fixing_date: Option<NaiveDate>§notional: f64§year_fraction: f64§rate: f64§amount: f64§discount_factor: f64§pv: f64§settlement_currency: String§fx_fixing_date: Option<NaiveDate>§leg: f64The row’s leg, by position in the instrument’s declared order.
index: StringThe index the row resets on, by registry code; empty where none.
Auto Trait Implementations§
impl Freeze for Row
impl RefUnwindSafe for Row
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl UnsafeUnpin for Row
impl UnwindSafe for Row
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