pub struct BinanceFuturesCoinSymbol {Show 23 fields
pub symbol: Ustr,
pub pair: Ustr,
pub contract_type: String,
pub delivery_date: i64,
pub onboard_date: i64,
pub contract_status: Option<BinanceContractStatus>,
pub contract_size: i64,
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 equal_qty_precision: Option<i32>,
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
COIN-M Futures symbol definition.
§References
Fields§
§symbol: UstrSymbol name (e.g., “BTCUSD_PERP”).
pair: UstrTrading pair (e.g., “BTCUSD”).
contract_type: StringContract type (PERPETUAL, CURRENT_QUARTER, NEXT_QUARTER).
delivery_date: i64Delivery date timestamp.
onboard_date: i64Onboard date timestamp.
contract_status: Option<BinanceContractStatus>Trading status.
contract_size: i64Contract size.
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.
equal_qty_precision: Option<i32>Equal quantity precision.
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 BinanceFuturesCoinSymbol
impl Clone for BinanceFuturesCoinSymbol
Source§fn clone(&self) -> BinanceFuturesCoinSymbol
fn clone(&self) -> BinanceFuturesCoinSymbol
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 BinanceFuturesCoinSymbol
impl Debug for BinanceFuturesCoinSymbol
Source§impl<'de> Deserialize<'de> for BinanceFuturesCoinSymbol
impl<'de> Deserialize<'de> for BinanceFuturesCoinSymbol
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 BinanceFuturesCoinSymbol
impl RefUnwindSafe for BinanceFuturesCoinSymbol
impl Send for BinanceFuturesCoinSymbol
impl Sync for BinanceFuturesCoinSymbol
impl Unpin for BinanceFuturesCoinSymbol
impl UnwindSafe for BinanceFuturesCoinSymbol
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