pub struct CCOCDEXOHLCV {Show 39 fields
pub unit: String,
pub timestamp: i64,
pub type_: String,
pub market: String,
pub instrument: String,
pub mapped_instrument: String,
pub base: String,
pub quote: String,
pub base_id: i32,
pub quote_id: i32,
pub transform_function: String,
pub open: f64,
pub high: f64,
pub low: f64,
pub close: f64,
pub first_swap_timestamp: i64,
pub first_swap_block: i64,
pub last_swap_timestamp: i64,
pub last_swap_block: i64,
pub first_swap_price: f64,
pub high_swap_price: f64,
pub high_swap_timestamp: i64,
pub high_swap_block: i64,
pub low_swap_price: f64,
pub low_swap_timestamp: i64,
pub low_swap_block: i64,
pub last_swap_price: f64,
pub total_swaps: i64,
pub total_swaps_buy: i64,
pub total_swaps_sell: i64,
pub total_swaps_unknown: i64,
pub volume: f64,
pub quote_volume: f64,
pub volume_buy: f64,
pub quote_volume_buy: f64,
pub volume_sell: f64,
pub quote_volume_sell: f64,
pub volume_unknown: String,
pub quote_volume_unknown: String,
}
Expand description
On-Chain DEX: Historical OHLCV+
Fields§
§unit: String
§timestamp: i64
§type_: String
§market: String
§instrument: String
§mapped_instrument: String
§base: String
§quote: String
§base_id: i32
§quote_id: i32
§transform_function: String
§open: f64
§high: f64
§low: f64
§close: f64
§first_swap_timestamp: i64
§first_swap_block: i64
§last_swap_timestamp: i64
§last_swap_block: i64
§first_swap_price: f64
§high_swap_price: f64
§high_swap_timestamp: i64
§high_swap_block: i64
§low_swap_price: f64
§low_swap_timestamp: i64
§low_swap_block: i64
§last_swap_price: f64
§total_swaps: i64
§total_swaps_buy: i64
§total_swaps_sell: i64
§total_swaps_unknown: i64
§volume: f64
§quote_volume: f64
§volume_buy: f64
§quote_volume_buy: f64
§volume_sell: f64
§quote_volume_sell: f64
§volume_unknown: String
§quote_volume_unknown: String
Trait Implementations§
source§impl Debug for CCOCDEXOHLCV
impl Debug for CCOCDEXOHLCV
source§impl<'de> Deserialize<'de> for CCOCDEXOHLCV
impl<'de> Deserialize<'de> for CCOCDEXOHLCV
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 CCOCDEXOHLCV
impl RefUnwindSafe for CCOCDEXOHLCV
impl Send for CCOCDEXOHLCV
impl Sync for CCOCDEXOHLCV
impl Unpin for CCOCDEXOHLCV
impl UnwindSafe for CCOCDEXOHLCV
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