pub struct YieldCurveData {
pub ts_init: UnixNanos,
pub ts_event: UnixNanos,
pub curve_name: String,
pub tenors: Vec<f64>,
pub interest_rates: Vec<f64>,
}
Fields§
§ts_init: UnixNanos
§ts_event: UnixNanos
§curve_name: String
§tenors: Vec<f64>
§interest_rates: Vec<f64>
Implementations§
Trait Implementations§
Source§impl Clone for YieldCurveData
impl Clone for YieldCurveData
Source§fn clone(&self) -> YieldCurveData
fn clone(&self) -> YieldCurveData
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for YieldCurveData
impl Debug for YieldCurveData
Source§impl Default for YieldCurveData
impl Default for YieldCurveData
Source§impl Display for YieldCurveData
impl Display for YieldCurveData
Auto Trait Implementations§
impl Freeze for YieldCurveData
impl RefUnwindSafe for YieldCurveData
impl Send for YieldCurveData
impl Sync for YieldCurveData
impl Unpin for YieldCurveData
impl UnwindSafe for YieldCurveData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Separable for Twhere
T: Display,
impl<T> Separable for Twhere
T: Display,
Source§fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String
fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String
Adds separators according to the given
SeparatorPolicy
. Read moreSource§fn separate_with_commas(&self) -> String
fn separate_with_commas(&self) -> String
Inserts a comma every three digits from the right. Read more
Source§fn separate_with_spaces(&self) -> String
fn separate_with_spaces(&self) -> String
Inserts a space every three digits from the right. Read more
Source§fn separate_with_dots(&self) -> String
fn separate_with_dots(&self) -> String
Inserts a period every three digits from the right. Read more
Source§fn separate_with_underscores(&self) -> String
fn separate_with_underscores(&self) -> String
Inserts an underscore every three digits from the right. Read more