Struct BondFitRow
pub struct BondFitRow {
pub maturity: NaiveDate,
pub market_clean: f64,
pub model_clean: f64,
pub yield_misfit: f64,
}Expand description
One bond’s place in a fit.
Fields§
§maturity: NaiveDateThe bond’s maturity, as its identity in the report.
market_clean: f64The clean price the bond was quoted at.
model_clean: f64The clean price the fitted curve gives it.
yield_misfit: f64The misfit as a street yield: model yield less market yield. A price error means little without the bond’s own duration beside it; this is that division already done.
Trait Implementations§
§impl Clone for BondFitRow
impl Clone for BondFitRow
§fn clone(&self) -> BondFitRow
fn clone(&self) -> BondFitRow
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 BondFitRow
impl Debug for BondFitRow
§impl PartialEq for BondFitRow
impl PartialEq for BondFitRow
impl StructuralPartialEq for BondFitRow
Auto Trait Implementations§
impl Freeze for BondFitRow
impl RefUnwindSafe for BondFitRow
impl Send for BondFitRow
impl Sync for BondFitRow
impl Unpin for BondFitRow
impl UnsafeUnpin for BondFitRow
impl UnwindSafe for BondFitRow
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