pub struct BnSpotExchangeSymbol {Show 20 fields
pub symbol: CryptoSymbol,
pub status: BnSymbolStatus,
pub base_asset: CryptoAsset,
pub base_asset_precision: u8,
pub quote_asset: CryptoAsset,
pub quote_precision: Option<u8>,
pub quote_asset_precision: u8,
pub base_commission_precision: u8,
pub quote_commission_precision: u8,
pub order_types: Vec<BnOrderType>,
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<BnSymbolFilter>,
}Fields§
§symbol: CryptoSymbol§status: BnSymbolStatus§base_asset: CryptoAsset§base_asset_precision: u8§quote_asset: CryptoAsset§quote_precision: Option<u8>will be removed in future api versions (v4+)
quote_asset_precision: u8§base_commission_precision: u8§quote_commission_precision: u8§order_types: Vec<BnOrderType>§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<BnSymbolFilter>Trait Implementations§
Source§impl Clone for BnSpotExchangeSymbol
impl Clone for BnSpotExchangeSymbol
Source§fn clone(&self) -> BnSpotExchangeSymbol
fn clone(&self) -> BnSpotExchangeSymbol
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 BnSpotExchangeSymbol
impl Debug for BnSpotExchangeSymbol
Source§impl<'de> Deserialize<'de> for BnSpotExchangeSymbol
impl<'de> Deserialize<'de> for BnSpotExchangeSymbol
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 BnSpotExchangeSymbol
impl RefUnwindSafe for BnSpotExchangeSymbol
impl Send for BnSpotExchangeSymbol
impl Sync for BnSpotExchangeSymbol
impl Unpin for BnSpotExchangeSymbol
impl UnwindSafe for BnSpotExchangeSymbol
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