pub struct CCInstrument {
pub type_: String,
pub instrument_status: String,
pub instrument: String,
pub histo_shard: String,
pub mapped_instrument: String,
pub instrument_mapping: CCInstrumentMapping,
pub has_trades_spot: bool,
pub first_trade_spot_timestamp: i64,
pub last_trade_spot_timestamp: i64,
pub total_trades_spot: i64,
}Fields§
§type_: StringType of the message.
instrument_status: StringStatus of the current instrument.
instrument: StringThe internal exchange defined instrument id.
histo_shard: StringOur internal shard for historical OHLCV+ (minute/hour/day) market data. Minute data is only held in the historical database for up to 3 weeks and we ship it to blob storage afterwards. The API utilizes multiple replicas of a single shard in a round-robin manner.
mapped_instrument: StringThe ccdata mapped instrument ID.
instrument_mapping: CCInstrumentMappingThe current mapping information for this instrument.
has_trades_spot: boolA boolean field indicating whether the instrument has spot trades or not.
first_trade_spot_timestamp: i64The first spot defi trade timestamp.
last_trade_spot_timestamp: i64The last spot defi trade timestamp.
total_trades_spot: i64The total number of spot trades that this exchange has processed.
Trait Implementations§
Source§impl Debug for CCInstrument
impl Debug for CCInstrument
Source§impl<'de> Deserialize<'de> for CCInstrument
impl<'de> Deserialize<'de> for CCInstrument
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 CCInstrument
impl RefUnwindSafe for CCInstrument
impl Send for CCInstrument
impl Sync for CCInstrument
impl Unpin for CCInstrument
impl UnwindSafe for CCInstrument
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