pub struct Instrument {
pub type_: String,
pub instrument_status: String,
pub instrument: String,
pub histo_shard: String,
pub mapped_instrument: String,
pub instrument_mapping: SpotInstrumentMapping,
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 CoinDesk mapped instrument ID.
instrument_mapping: SpotInstrumentMappingThe 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 Clone for Instrument
impl Clone for Instrument
Source§fn clone(&self) -> Instrument
fn clone(&self) -> Instrument
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Instrument
impl Debug for Instrument
Source§impl<'de> Deserialize<'de> for Instrument
impl<'de> Deserialize<'de> for Instrument
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 Instrument
impl RefUnwindSafe for Instrument
impl Send for Instrument
impl Sync for Instrument
impl Unpin for Instrument
impl UnsafeUnpin for Instrument
impl UnwindSafe for Instrument
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