pub struct SpotInstrumentsInfo {
pub category: String,
pub list: Vec<SpotInstrument>,
}Expand description
Contains instrument information for spot markets.
Part of the InstrumentInfo enum, this struct provides details for spot trading pairs. Less relevant for perpetual futures but included for completeness.
Fields§
§category: StringThe product category (e.g., “spot”).
Confirms the instrument type as spot. Bots trading perpetuals can ignore this.
list: Vec<SpotInstrument>A list of spot instrument details.
Contains data for each spot trading pair. Not relevant for perpetual futures.
Trait Implementations§
Source§impl Clone for SpotInstrumentsInfo
impl Clone for SpotInstrumentsInfo
Source§fn clone(&self) -> SpotInstrumentsInfo
fn clone(&self) -> SpotInstrumentsInfo
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 SpotInstrumentsInfo
impl Debug for SpotInstrumentsInfo
Source§impl<'de> Deserialize<'de> for SpotInstrumentsInfo
impl<'de> Deserialize<'de> for SpotInstrumentsInfo
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 SpotInstrumentsInfo
impl RefUnwindSafe for SpotInstrumentsInfo
impl Send for SpotInstrumentsInfo
impl Sync for SpotInstrumentsInfo
impl Unpin for SpotInstrumentsInfo
impl UnsafeUnpin for SpotInstrumentsInfo
impl UnwindSafe for SpotInstrumentsInfo
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