pub struct Symbol {Show 25 fields
pub base_asset: String,
pub base_asset_precision: u8,
pub contract_type: String,
pub delivery_date: i64,
pub filters: Vec<Value>,
pub liquidation_fee: Decimal,
pub maker_fee_bps: Vec<String>,
pub margin_asset: String,
pub market_id: u16,
pub market_take_bound: Decimal,
pub onboard_date: i64,
pub order_types: Vec<String>,
pub pair: String,
pub price_precision: u8,
pub quantity_precision: u8,
pub quote_asset: String,
pub quote_precision: u8,
pub settle_plan: i32,
pub status: String,
pub symbol: String,
pub taker_fee_bps: Vec<String>,
pub time_in_force: Vec<String>,
pub trigger_protect: Decimal,
pub underlying_sub_type: Vec<String>,
pub underlying_type: String,
}Expand description
Symbol
JSON schema
{
"type": "object",
"required": [
"baseAsset",
"baseAssetPrecision",
"contractType",
"deliveryDate",
"filters",
"liquidationFee",
"makerFeeBps",
"marginAsset",
"marketId",
"marketTakeBound",
"onboardDate",
"orderTypes",
"pair",
"pricePrecision",
"quantityPrecision",
"quoteAsset",
"quotePrecision",
"settlePlan",
"status",
"symbol",
"takerFeeBps",
"timeInForce",
"triggerProtect",
"underlyingSubType",
"underlyingType"
],
"properties": {
"baseAsset": {
"type": "string"
},
"baseAssetPrecision": {
"type": "integer",
"format": "uint8",
"minimum": 0.0
},
"contractType": {
"type": "string"
},
"deliveryDate": {
"type": "integer",
"format": "int64"
},
"filters": {
"type": "array",
"items": {}
},
"liquidationFee": {
"type": "string",
"format": "decimal"
},
"makerFeeBps": {
"type": "array",
"items": {
"type": "string"
}
},
"marginAsset": {
"type": "string"
},
"marketId": {
"type": "integer",
"format": "uint16",
"minimum": 0.0
},
"marketTakeBound": {
"type": "string",
"format": "decimal"
},
"onboardDate": {
"type": "integer",
"format": "int64"
},
"orderTypes": {
"type": "array",
"items": {
"type": "string"
}
},
"pair": {
"type": "string"
},
"pricePrecision": {
"type": "integer",
"format": "uint8",
"minimum": 0.0
},
"quantityPrecision": {
"type": "integer",
"format": "uint8",
"minimum": 0.0
},
"quoteAsset": {
"type": "string"
},
"quotePrecision": {
"type": "integer",
"format": "uint8",
"minimum": 0.0
},
"settlePlan": {
"type": "integer",
"format": "int32"
},
"status": {
"type": "string"
},
"symbol": {
"type": "string"
},
"takerFeeBps": {
"type": "array",
"items": {
"type": "string"
}
},
"timeInForce": {
"type": "array",
"items": {
"type": "string"
}
},
"triggerProtect": {
"type": "string",
"format": "decimal"
},
"underlyingSubType": {
"type": "array",
"items": {
"type": "string"
}
},
"underlyingType": {
"type": "string"
}
}
}Fields§
§base_asset: String§base_asset_precision: u8§contract_type: String§delivery_date: i64§filters: Vec<Value>§liquidation_fee: Decimal§maker_fee_bps: Vec<String>§margin_asset: String§market_id: u16§market_take_bound: Decimal§onboard_date: i64§order_types: Vec<String>§pair: String§price_precision: u8§quantity_precision: u8§quote_asset: String§quote_precision: u8§settle_plan: i32§status: String§symbol: String§taker_fee_bps: Vec<String>§time_in_force: Vec<String>§trigger_protect: Decimal§underlying_sub_type: Vec<String>§underlying_type: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Symbol
impl<'de> Deserialize<'de> for Symbol
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 Symbol
impl RefUnwindSafe for Symbol
impl Send for Symbol
impl Sync for Symbol
impl Unpin for Symbol
impl UnsafeUnpin for Symbol
impl UnwindSafe for Symbol
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