pub struct OHLCV {
pub time: u64,
pub open: String,
pub high: String,
pub low: String,
pub close: String,
pub volume: String,
}Expand description
A candlestick for a given market over a given time interval.
Fields§
§time: u64§open: String§high: String§low: String§close: String§volume: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for OHLCV
impl<'de> Deserialize<'de> for OHLCV
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
Auto Trait Implementations§
impl Freeze for OHLCV
impl RefUnwindSafe for OHLCV
impl Send for OHLCV
impl Sync for OHLCV
impl Unpin for OHLCV
impl UnwindSafe for OHLCV
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