pub struct SpotInstrumentsInfo {
pub symbol: String,
pub base_coin: String,
pub quote_coin: String,
pub innovation: bool,
pub status: Status,
pub margin_trading: String,
pub st_tag: bool,
pub lot_size_filter: SpotLotSizeFilter,
pub price_filter: SpotPriceFilter,
pub risk_parameters: RiskParameters,
}Fields§
§symbol: StringSymbol name
base_coin: StringBase coin
quote_coin: StringQuote coin
innovation: boolWhether or not this is an innovation zone token. 0: false, 1: true
status: StatusInstrument status
margin_trading: StringMargin trade symbol or not This is to identify if the symbol support margin trading under different account modes You may find some symbols not supporting margin buy or margin sell, so you need to go to Collateral Info (UTA) to check if that coin is borrowable
st_tag: boolWhether or not it has an special treatment label. 0: false, 1: true
lot_size_filter: SpotLotSizeFilterSize attributes
price_filter: SpotPriceFilterPrice attributes
risk_parameters: RiskParametersRisk parameters for limit order price, refer to announcement
Trait Implementations§
Source§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
Source§impl PartialEq for SpotInstrumentsInfo
impl PartialEq for SpotInstrumentsInfo
Source§fn eq(&self, other: &SpotInstrumentsInfo) -> bool
fn eq(&self, other: &SpotInstrumentsInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SpotInstrumentsInfo
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