pub struct ForwardSegment {
pub t1: f64,
pub t2: f64,
pub forward: f64,
}Expand description
One inter-pillar segment and its discrete continuously compounded
forward rate, as reported by YieldCurve::min_forward.
Fields§
§t1: f64§t2: f64§forward: f64Trait Implementations§
Source§impl Clone for ForwardSegment
impl Clone for ForwardSegment
Source§fn clone(&self) -> ForwardSegment
fn clone(&self) -> ForwardSegment
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 ForwardSegment
Source§impl Debug for ForwardSegment
impl Debug for ForwardSegment
Source§impl PartialEq for ForwardSegment
impl PartialEq for ForwardSegment
impl StructuralPartialEq for ForwardSegment
Auto Trait Implementations§
impl Freeze for ForwardSegment
impl RefUnwindSafe for ForwardSegment
impl Send for ForwardSegment
impl Sync for ForwardSegment
impl Unpin for ForwardSegment
impl UnsafeUnpin for ForwardSegment
impl UnwindSafe for ForwardSegment
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