pub struct SymbolInfo {Show 23 fields
pub symbol: String,
pub status: SymbolStatus,
pub base_asset: String,
pub base_asset_precision: u8,
pub quote_asset: String,
pub quote_asset_precision: u8,
pub base_commission_precision: u8,
pub quote_commission_precision: u8,
pub order_types: Vec<OrderType>,
pub iceberg_allowed: bool,
pub oco_allowed: bool,
pub oto_allowed: bool,
pub quote_order_qty_market_allowed: bool,
pub allow_trailing_stop: bool,
pub cancel_replace_allowed: bool,
pub amend_allowed: bool,
pub is_spot_trading_allowed: bool,
pub is_margin_trading_allowed: bool,
pub filters: Vec<Filter>,
pub permissions: Vec<String>,
pub permission_sets: Vec<Vec<String>>,
pub default_self_trade_prevention_mode: STPMode,
pub allowed_self_trade_prevention_modes: Vec<STPMode>,
}Fields§
§symbol: String§status: SymbolStatus§base_asset: String§base_asset_precision: u8§quote_asset: String§quote_asset_precision: u8§base_commission_precision: u8§quote_commission_precision: u8§order_types: Vec<OrderType>§iceberg_allowed: bool§oco_allowed: bool§oto_allowed: bool§quote_order_qty_market_allowed: bool§allow_trailing_stop: bool§cancel_replace_allowed: bool§amend_allowed: bool§is_spot_trading_allowed: bool§is_margin_trading_allowed: bool§filters: Vec<Filter>§permissions: Vec<String>§permission_sets: Vec<Vec<String>>§default_self_trade_prevention_mode: STPMode§allowed_self_trade_prevention_modes: Vec<STPMode>Trait Implementations§
Source§impl Debug for SymbolInfo
impl Debug for SymbolInfo
Source§impl<'de> Deserialize<'de> for SymbolInfo
impl<'de> Deserialize<'de> for SymbolInfo
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 SymbolInfo
impl PartialEq for SymbolInfo
impl StructuralPartialEq for SymbolInfo
Auto Trait Implementations§
impl Freeze for SymbolInfo
impl RefUnwindSafe for SymbolInfo
impl Send for SymbolInfo
impl Sync for SymbolInfo
impl Unpin for SymbolInfo
impl UnwindSafe for SymbolInfo
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