pub struct BinanceSymbolInfo {Show 16 fields
pub symbol: String,
pub base_asset: String,
pub quote_asset: String,
pub min_qty: Decimal,
pub max_qty: Decimal,
pub step_size: Decimal,
pub min_price: Decimal,
pub max_price: Decimal,
pub tick_size: Decimal,
pub min_notional: Decimal,
pub iceberg_allowed: bool,
pub status: String,
pub base_asset_precision: u8,
pub quote_asset_precision: u8,
pub order_types: SmallVec<[String; 8]>,
pub permissions: SmallVec<[String; 4]>,
}Expand description
Symbol information from Binance exchange
Fields§
§symbol: StringSymbol name (e.g., “BTCUSDT”)
base_asset: StringBase asset (e.g., “BTC”)
quote_asset: StringQuote asset (e.g., “USDT”)
min_qty: DecimalMinimum order quantity
max_qty: DecimalMaximum order quantity
step_size: DecimalStep size for quantity
min_price: DecimalMinimum price
max_price: DecimalMaximum price
tick_size: DecimalTick size for price
min_notional: DecimalMinimum notional value
iceberg_allowed: boolWhether iceberg orders are allowed
status: StringWhether the symbol is currently trading
base_asset_precision: u8Base asset precision
quote_asset_precision: u8Quote asset precision
order_types: SmallVec<[String; 8]>Order types allowed for this symbol
permissions: SmallVec<[String; 4]>Permissions (e.g., “SPOT”, “MARGIN”)
Trait Implementations§
Source§impl Clone for BinanceSymbolInfo
impl Clone for BinanceSymbolInfo
Source§fn clone(&self) -> BinanceSymbolInfo
fn clone(&self) -> BinanceSymbolInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BinanceSymbolInfo
impl Debug for BinanceSymbolInfo
Source§impl<'de> Deserialize<'de> for BinanceSymbolInfo
impl<'de> Deserialize<'de> for BinanceSymbolInfo
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 BinanceSymbolInfo
impl RefUnwindSafe for BinanceSymbolInfo
impl Send for BinanceSymbolInfo
impl Sync for BinanceSymbolInfo
impl Unpin for BinanceSymbolInfo
impl UnwindSafe for BinanceSymbolInfo
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