Struct datamaxi::models::CandleDetail
source · pub struct CandleDetail {
pub timestamp: String,
pub open: String,
pub high: String,
pub low: String,
pub close: String,
pub volume: String,
}
Expand description
Detailed information about a candle.
Fields§
§timestamp: String
The timestamp of the candle’s open time.
open: String
The opening price of the asset at the beginning of the time frame.
high: String
The highest price of the asset during the time frame.
low: String
The lowest price of the asset during the time frame.
close: String
The closing price of the asset at the end of the time frame.
volume: String
The total volume of trades (in the base currency) that occurred during the time frame.
Trait Implementations§
source§impl Debug for CandleDetail
impl Debug for CandleDetail
source§impl<'de> Deserialize<'de> for CandleDetail
impl<'de> Deserialize<'de> for CandleDetail
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 CandleDetail
impl RefUnwindSafe for CandleDetail
impl Send for CandleDetail
impl Sync for CandleDetail
impl Unpin for CandleDetail
impl UnwindSafe for CandleDetail
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