pub struct BinanceFuturesUsdSymbol {Show 24 fields
pub symbol: Ustr,
pub pair: Ustr,
pub contract_type: String,
pub delivery_date: i64,
pub onboard_date: i64,
pub status: BinanceTradingStatus,
pub maint_margin_percent: String,
pub required_margin_percent: String,
pub base_asset: Ustr,
pub quote_asset: Ustr,
pub margin_asset: Ustr,
pub price_precision: i32,
pub quantity_precision: i32,
pub base_asset_precision: i32,
pub quote_precision: i32,
pub underlying_type: Option<String>,
pub underlying_sub_type: Vec<String>,
pub settle_plan: Option<i64>,
pub trigger_protect: Option<String>,
pub liquidation_fee: Option<String>,
pub market_take_bound: Option<String>,
pub order_types: Vec<String>,
pub time_in_force: Vec<String>,
pub filters: Vec<Value>,
}Expand description
USD-M Futures symbol definition.
§References
Fields§
§symbol: UstrSymbol name (e.g., “BTCUSDT”).
pair: UstrTrading pair (e.g., “BTCUSDT”).
contract_type: StringContract type (PERPETUAL, CURRENT_QUARTER, NEXT_QUARTER).
delivery_date: i64Delivery date timestamp.
onboard_date: i64Onboard date timestamp.
status: BinanceTradingStatusTrading status.
maint_margin_percent: StringMaintenance margin percent.
required_margin_percent: StringRequired margin percent.
base_asset: UstrBase asset.
quote_asset: UstrQuote asset.
margin_asset: UstrMargin asset.
price_precision: i32Price precision.
quantity_precision: i32Quantity precision.
base_asset_precision: i32Base asset precision.
quote_precision: i32Quote precision.
underlying_type: Option<String>Underlying type.
underlying_sub_type: Vec<String>Underlying sub type.
settle_plan: Option<i64>Settle plan.
trigger_protect: Option<String>Trigger protect threshold.
liquidation_fee: Option<String>Liquidation fee.
market_take_bound: Option<String>Market take bound.
order_types: Vec<String>Allowed order types.
time_in_force: Vec<String>Time in force options.
filters: Vec<Value>Symbol filters.
Trait Implementations§
Source§impl Clone for BinanceFuturesUsdSymbol
impl Clone for BinanceFuturesUsdSymbol
Source§fn clone(&self) -> BinanceFuturesUsdSymbol
fn clone(&self) -> BinanceFuturesUsdSymbol
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 BinanceFuturesUsdSymbol
impl Debug for BinanceFuturesUsdSymbol
Source§impl<'de> Deserialize<'de> for BinanceFuturesUsdSymbol
impl<'de> Deserialize<'de> for BinanceFuturesUsdSymbol
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 BinanceFuturesUsdSymbol
impl RefUnwindSafe for BinanceFuturesUsdSymbol
impl Send for BinanceFuturesUsdSymbol
impl Sync for BinanceFuturesUsdSymbol
impl Unpin for BinanceFuturesUsdSymbol
impl UnwindSafe for BinanceFuturesUsdSymbol
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