pub struct PriceObservation {
pub high: f64,
pub low: f64,
pub close: f64,
}Expand description
OHLC range relevant to price-unit evaluation; timestamps/order are the caller’s responsibility.
Fields§
§high: f64§low: f64§close: f64Trait Implementations§
Source§impl Clone for PriceObservation
impl Clone for PriceObservation
Source§fn clone(&self) -> PriceObservation
fn clone(&self) -> PriceObservation
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 PriceObservation
Auto Trait Implementations§
impl Freeze for PriceObservation
impl RefUnwindSafe for PriceObservation
impl Send for PriceObservation
impl Sync for PriceObservation
impl Unpin for PriceObservation
impl UnsafeUnpin for PriceObservation
impl UnwindSafe for PriceObservation
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