pub struct BinanceSpotSymbol {Show 19 fields
pub symbol: Ustr,
pub status: BinanceTradingStatus,
pub base_asset: Ustr,
pub base_asset_precision: i32,
pub quote_asset: Ustr,
pub quote_precision: i32,
pub quote_asset_precision: Option<i32>,
pub order_types: Vec<String>,
pub iceberg_allowed: bool,
pub oco_allowed: Option<bool>,
pub quote_order_qty_market_allowed: Option<bool>,
pub allow_trailing_stop: Option<bool>,
pub is_spot_trading_allowed: Option<bool>,
pub is_margin_trading_allowed: Option<bool>,
pub filters: Vec<Value>,
pub permissions: Vec<String>,
pub permission_sets: Vec<Vec<String>>,
pub default_self_trade_prevention_mode: Option<String>,
pub allowed_self_trade_prevention_modes: Vec<String>,
}Expand description
Spot symbol definition.
§References
Fields§
§symbol: UstrSymbol name (e.g., “BTCUSDT”).
status: BinanceTradingStatusTrading status.
base_asset: UstrBase asset (e.g., “BTC”).
base_asset_precision: i32Base asset precision.
quote_asset: UstrQuote asset (e.g., “USDT”).
quote_precision: i32Quote asset precision.
quote_asset_precision: Option<i32>Quote asset precision (duplicate field in some responses).
order_types: Vec<String>Allowed order types.
iceberg_allowed: boolWhether iceberg orders are allowed.
oco_allowed: Option<bool>Whether OCO orders are allowed.
quote_order_qty_market_allowed: Option<bool>Whether quote order quantity market orders are allowed.
allow_trailing_stop: Option<bool>Whether trailing delta is allowed.
is_spot_trading_allowed: Option<bool>Whether spot trading is allowed.
is_margin_trading_allowed: Option<bool>Whether margin trading is allowed.
filters: Vec<Value>Symbol filters (price, lot size, notional, etc.).
permissions: Vec<String>Permissions for the symbol.
permission_sets: Vec<Vec<String>>Permission sets.
default_self_trade_prevention_mode: Option<String>Default self trade prevention mode.
allowed_self_trade_prevention_modes: Vec<String>Allowed self trade prevention modes.
Trait Implementations§
Source§impl Clone for BinanceSpotSymbol
impl Clone for BinanceSpotSymbol
Source§fn clone(&self) -> BinanceSpotSymbol
fn clone(&self) -> BinanceSpotSymbol
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BinanceSpotSymbol
impl Debug for BinanceSpotSymbol
Source§impl<'de> Deserialize<'de> for BinanceSpotSymbol
impl<'de> Deserialize<'de> for BinanceSpotSymbol
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 BinanceSpotSymbol
impl RefUnwindSafe for BinanceSpotSymbol
impl Send for BinanceSpotSymbol
impl Sync for BinanceSpotSymbol
impl Unpin for BinanceSpotSymbol
impl UnwindSafe for BinanceSpotSymbol
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more