Struct MarketData
pub struct MarketData {
pub strips: Vec<StripQuotes>,
pub fixings: Vec<(String, NaiveDate, f64)>,
pub fx: Vec<FxSpot>,
}Expand description
What a source answered: strips, fixings and spots. Anything a demand names and this does not carry is a gap.
Fields§
§strips: Vec<StripQuotes>The strips held.
fixings: Vec<(String, NaiveDate, f64)>The fixings held, as (series, date, value).
fx: Vec<FxSpot>The spots held.
Trait Implementations§
§impl Clone for MarketData
impl Clone for MarketData
§fn clone(&self) -> MarketData
fn clone(&self) -> MarketData
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 MarketData
impl Debug for MarketData
§impl Default for MarketData
impl Default for MarketData
§fn default() -> MarketData
fn default() -> MarketData
Returns the “default value” for a type. Read more
§impl PartialEq for MarketData
impl PartialEq for MarketData
impl StructuralPartialEq for MarketData
Auto Trait Implementations§
impl Freeze for MarketData
impl RefUnwindSafe for MarketData
impl Send for MarketData
impl Sync for MarketData
impl Unpin for MarketData
impl UnsafeUnpin for MarketData
impl UnwindSafe for MarketData
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