Struct FxSpot
pub struct FxSpot {
pub pair: CurrencyPair,
pub rate: f64,
pub observed: NaiveDate,
}Expand description
One FX spot as a source publishes it, in either orientation.
Fields§
§pair: CurrencyPairThe pair as quoted.
rate: f64Quote units per one base.
observed: NaiveDateThe date the spot was observed.
Trait Implementations§
impl Copy for FxSpot
impl StructuralPartialEq for FxSpot
Auto Trait Implementations§
impl Freeze for FxSpot
impl RefUnwindSafe for FxSpot
impl Send for FxSpot
impl Sync for FxSpot
impl Unpin for FxSpot
impl UnsafeUnpin for FxSpot
impl UnwindSafe for FxSpot
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