pub struct SpotInstrumentMapping {
pub mapped_instrument: String,
pub base: String,
pub base_id: i32,
pub quote: String,
pub quote_id: i32,
pub transform_function: String,
pub created_on: i64,
}Fields§
§mapped_instrument: StringThe current mapping dsv for this instrument.
base: StringThe current mapping information for this instrument.
base_id: i32Represents the internal CoinDesk ID for the base asset or coin (e.g., 1 for BTC). This ID is unique and immutable, ensuring consistent identification. Applicable only to instruments with a mapping.
quote: StringThe current mapping vs for this instrument.
quote_id: i32Represents the internal CoinDesk ID for the quote asset or counter coin (e.g., 5 for USD). This ID is unique and immutable, ensuring consistent identification. Applicable only to instruments with a mapping.
transform_function: StringThe current mapping vsscds for this instrument.
created_on: i64Timestamp for when this mapping was created.
Trait Implementations§
Source§impl Clone for SpotInstrumentMapping
impl Clone for SpotInstrumentMapping
Source§fn clone(&self) -> SpotInstrumentMapping
fn clone(&self) -> SpotInstrumentMapping
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 SpotInstrumentMapping
impl Debug for SpotInstrumentMapping
Source§impl<'de> Deserialize<'de> for SpotInstrumentMapping
impl<'de> Deserialize<'de> for SpotInstrumentMapping
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 SpotInstrumentMapping
impl RefUnwindSafe for SpotInstrumentMapping
impl Send for SpotInstrumentMapping
impl Sync for SpotInstrumentMapping
impl Unpin for SpotInstrumentMapping
impl UnsafeUnpin for SpotInstrumentMapping
impl UnwindSafe for SpotInstrumentMapping
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