pub struct VolatilityIndexCandle {
pub timestamp: u64,
pub open: f64,
pub high: f64,
pub low: f64,
pub close: f64,
}Expand description
A single volatility index candle
Represents OHLC data for a volatility index at a specific timestamp.
Fields§
§timestamp: u64Timestamp in milliseconds since UNIX epoch
open: f64Open value
high: f64High value
low: f64Low value
close: f64Close value
Trait Implementations§
Source§impl Clone for VolatilityIndexCandle
impl Clone for VolatilityIndexCandle
Source§fn clone(&self) -> VolatilityIndexCandle
fn clone(&self) -> VolatilityIndexCandle
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 VolatilityIndexCandle
impl Debug for VolatilityIndexCandle
Source§impl<'de> Deserialize<'de> for VolatilityIndexCandle
impl<'de> Deserialize<'de> for VolatilityIndexCandle
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 VolatilityIndexCandle
impl PartialEq for VolatilityIndexCandle
Source§impl Serialize for VolatilityIndexCandle
impl Serialize for VolatilityIndexCandle
impl StructuralPartialEq for VolatilityIndexCandle
Auto Trait Implementations§
impl Freeze for VolatilityIndexCandle
impl RefUnwindSafe for VolatilityIndexCandle
impl Send for VolatilityIndexCandle
impl Sync for VolatilityIndexCandle
impl Unpin for VolatilityIndexCandle
impl UnsafeUnpin for VolatilityIndexCandle
impl UnwindSafe for VolatilityIndexCandle
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