pub struct ContinuousKlineData {Show 15 fields
pub start_time: u64,
pub close_time: u64,
pub pair: String,
pub contract_type: String,
pub interval: String,
pub first_trade_id: i64,
pub last_trade_id: i64,
pub open: String,
pub close: String,
pub high: String,
pub low: String,
pub volume: String,
pub number_of_trades: u64,
pub is_closed: bool,
pub quote_volume: String,
}Expand description
Continuous kline/candlestick data
Fields§
§start_time: u64Kline start time
close_time: u64Kline close time
pair: StringPair
contract_type: StringContract type
interval: StringInterval
first_trade_id: i64First trade ID
last_trade_id: i64Last trade ID
open: StringOpen price
close: StringClose price
high: StringHigh price
low: StringLow price
volume: StringBase asset volume
number_of_trades: u64Number of trades
is_closed: boolIs this kline closed?
quote_volume: StringQuote asset volume
Trait Implementations§
Source§impl Clone for ContinuousKlineData
impl Clone for ContinuousKlineData
Source§fn clone(&self) -> ContinuousKlineData
fn clone(&self) -> ContinuousKlineData
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContinuousKlineData
impl Debug for ContinuousKlineData
Source§impl<'de> Deserialize<'de> for ContinuousKlineData
impl<'de> Deserialize<'de> for ContinuousKlineData
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 ContinuousKlineData
impl RefUnwindSafe for ContinuousKlineData
impl Send for ContinuousKlineData
impl Sync for ContinuousKlineData
impl Unpin for ContinuousKlineData
impl UnwindSafe for ContinuousKlineData
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