pub struct BinanceSymbolSbe {Show 18 fields
pub symbol: String,
pub base_asset: String,
pub quote_asset: String,
pub base_asset_precision: u8,
pub quote_asset_precision: u8,
pub status: u8,
pub order_types: u16,
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<Value>,
pub permissions: Vec<Vec<String>>,
}Expand description
Symbol information from SBE exchange info response.
Fields§
§symbol: StringSymbol name (e.g., “BTCUSDT”).
base_asset: StringBase asset (e.g., “BTC”).
quote_asset: StringQuote asset (e.g., “USDT”).
base_asset_precision: u8Base asset precision.
quote_asset_precision: u8Quote asset precision.
status: u8Symbol status.
order_types: u16Order types bitset.
iceberg_allowed: boolWhether iceberg orders are allowed.
oco_allowed: boolWhether OCO orders are allowed.
oto_allowed: boolWhether OTO orders are allowed.
quote_order_qty_market_allowed: boolWhether quote order quantity market orders are allowed.
allow_trailing_stop: boolWhether trailing stop is allowed.
cancel_replace_allowed: boolWhether cancel-replace is allowed.
amend_allowed: boolWhether amend is allowed.
is_spot_trading_allowed: boolWhether spot trading is allowed.
is_margin_trading_allowed: boolWhether margin trading is allowed.
filters: Vec<Value>Symbol filters (JSON embedded in SBE).
permissions: Vec<Vec<String>>Permission sets.
Trait Implementations§
Source§impl Clone for BinanceSymbolSbe
impl Clone for BinanceSymbolSbe
Source§fn clone(&self) -> BinanceSymbolSbe
fn clone(&self) -> BinanceSymbolSbe
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 BinanceSymbolSbe
impl Debug for BinanceSymbolSbe
Source§impl PartialEq for BinanceSymbolSbe
impl PartialEq for BinanceSymbolSbe
impl StructuralPartialEq for BinanceSymbolSbe
Auto Trait Implementations§
impl Freeze for BinanceSymbolSbe
impl RefUnwindSafe for BinanceSymbolSbe
impl Send for BinanceSymbolSbe
impl Sync for BinanceSymbolSbe
impl Unpin for BinanceSymbolSbe
impl UnwindSafe for BinanceSymbolSbe
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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