pub struct TreasuryRate {Show 13 fields
pub date: NaiveDate,
pub month1: Option<f64>,
pub month2: Option<f64>,
pub month3: Option<f64>,
pub month6: Option<f64>,
pub year1: Option<f64>,
pub year2: Option<f64>,
pub year3: Option<f64>,
pub year5: Option<f64>,
pub year7: Option<f64>,
pub year10: Option<f64>,
pub year20: Option<f64>,
pub year30: Option<f64>,
}Expand description
A daily US Treasury yield observation from treasury-rates.
Fields§
§date: NaiveDate§month1: Option<f64>§month2: Option<f64>§month3: Option<f64>§month6: Option<f64>§year1: Option<f64>§year2: Option<f64>§year3: Option<f64>§year5: Option<f64>§year7: Option<f64>§year10: Option<f64>§year20: Option<f64>§year30: Option<f64>Trait Implementations§
Source§impl Clone for TreasuryRate
impl Clone for TreasuryRate
Source§impl Debug for TreasuryRate
impl Debug for TreasuryRate
Source§impl<'de> Deserialize<'de> for TreasuryRate
impl<'de> Deserialize<'de> for TreasuryRate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TreasuryRate
impl PartialEq for TreasuryRate
Source§impl Serialize for TreasuryRate
impl Serialize for TreasuryRate
impl StructuralPartialEq for TreasuryRate
Auto Trait Implementations§
impl Freeze for TreasuryRate
impl RefUnwindSafe for TreasuryRate
impl Send for TreasuryRate
impl Sync for TreasuryRate
impl Unpin for TreasuryRate
impl UnsafeUnpin for TreasuryRate
impl UnwindSafe for TreasuryRate
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