ccdata_api::schemas::data_api::on_chain_dex

Struct CCOCDEXOHLCV

source
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

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CCOCDEXOHLCV

source§

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§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,