pub struct CurvePillar {
pub date: Option<NaiveDate>,
pub time: f64,
pub df: f64,
pub zero_rate: f64,
}Expand description
One pillar of the curve, with the zero rate derived for inspection.
Fields§
§date: Option<NaiveDate>Original pillar date, when the curve was built from date tenors.
time: f64§df: f64§zero_rate: f64Continuously compounded zero rate at this pillar.
Trait Implementations§
Source§impl Clone for CurvePillar
impl Clone for CurvePillar
Source§fn clone(&self) -> CurvePillar
fn clone(&self) -> CurvePillar
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 moreimpl Copy for CurvePillar
Auto Trait Implementations§
impl Freeze for CurvePillar
impl RefUnwindSafe for CurvePillar
impl Send for CurvePillar
impl Sync for CurvePillar
impl Unpin for CurvePillar
impl UnsafeUnpin for CurvePillar
impl UnwindSafe for CurvePillar
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