pub struct SingleHistoricalBarLast {
pub c: Option<f64>,
pub h: Option<f64>,
pub l: Option<f64>,
pub o: Option<f64>,
pub t: Option<i32>,
pub v: Option<f64>,
}Expand description
Object containing Last or Trades data for a single OHLC bar.
Fields§
§c: Option<f64>Closing value of the bar. Indicates the final traded price of the bar.
h: Option<f64>High value of the bar. Indicates the highest traded price of the bar.
l: Option<f64>Low value of the bar. Indicates the lowest traded price of the bar.
o: Option<f64>Opening value of the bar. Indicates first traded price of the bar.
t: Option<i32>Unix timestamp of the start (chronologically earlier) of the bar.
v: Option<f64>Volume value of the bar, returned only for “Last” barType.
Trait Implementations§
Source§impl Clone for SingleHistoricalBarLast
impl Clone for SingleHistoricalBarLast
Source§fn clone(&self) -> SingleHistoricalBarLast
fn clone(&self) -> SingleHistoricalBarLast
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SingleHistoricalBarLast
impl Debug for SingleHistoricalBarLast
Source§impl Default for SingleHistoricalBarLast
impl Default for SingleHistoricalBarLast
Source§impl<'de> Deserialize<'de> for SingleHistoricalBarLast
impl<'de> Deserialize<'de> for SingleHistoricalBarLast
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 SingleHistoricalBarLast
impl PartialEq for SingleHistoricalBarLast
impl StructuralPartialEq for SingleHistoricalBarLast
Auto Trait Implementations§
impl Freeze for SingleHistoricalBarLast
impl RefUnwindSafe for SingleHistoricalBarLast
impl Send for SingleHistoricalBarLast
impl Sync for SingleHistoricalBarLast
impl Unpin for SingleHistoricalBarLast
impl UnsafeUnpin for SingleHistoricalBarLast
impl UnwindSafe for SingleHistoricalBarLast
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