pub struct CCInstrumentMapping {
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: String
The current mapping dsv for this instrument.
base: String
The current mapping information for this instrument.
base_id: i32
Represents the internal CCData 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: String
The current mapping vs for this instrument.
quote_id: i32
Represents the internal CCData 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: String
The current mapping vsscds for this instrument.
created_on: i64
Timestamp for when this mapping was created.
Trait Implementations§
Source§impl Debug for CCInstrumentMapping
impl Debug for CCInstrumentMapping
Source§impl<'de> Deserialize<'de> for CCInstrumentMapping
impl<'de> Deserialize<'de> for CCInstrumentMapping
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 CCInstrumentMapping
impl RefUnwindSafe for CCInstrumentMapping
impl Send for CCInstrumentMapping
impl Sync for CCInstrumentMapping
impl Unpin for CCInstrumentMapping
impl UnwindSafe for CCInstrumentMapping
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