pub struct MarginIsolatedAllPairsResponseItem {
pub base: String,
pub is_buy_allowed: bool,
pub is_margin_trade: bool,
pub is_sell_allowed: bool,
pub quote: String,
pub symbol: String,
}
Expand description
MarginIsolatedAllPairsResponseItem
JSON schema
{
"type": "object",
"required": [
"base",
"isBuyAllowed",
"isMarginTrade",
"isSellAllowed",
"quote",
"symbol"
],
"properties": {
"base": {
"examples": [
"BTC"
],
"type": "string"
},
"isBuyAllowed": {
"type": "boolean"
},
"isMarginTrade": {
"type": "boolean"
},
"isSellAllowed": {
"type": "boolean"
},
"quote": {
"examples": [
"USDT"
],
"type": "string"
},
"symbol": {
"examples": [
"BTCUSDT"
],
"type": "string"
}
}
}
Fields§
§base: String
§is_buy_allowed: bool
§is_margin_trade: bool
§is_sell_allowed: bool
§quote: String
§symbol: String
Trait Implementations§
Source§impl Clone for MarginIsolatedAllPairsResponseItem
impl Clone for MarginIsolatedAllPairsResponseItem
Source§fn clone(&self) -> MarginIsolatedAllPairsResponseItem
fn clone(&self) -> MarginIsolatedAllPairsResponseItem
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<'de> Deserialize<'de> for MarginIsolatedAllPairsResponseItem
impl<'de> Deserialize<'de> for MarginIsolatedAllPairsResponseItem
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
Source§impl From<&MarginIsolatedAllPairsResponseItem> for MarginIsolatedAllPairsResponseItem
impl From<&MarginIsolatedAllPairsResponseItem> for MarginIsolatedAllPairsResponseItem
Source§fn from(value: &MarginIsolatedAllPairsResponseItem) -> Self
fn from(value: &MarginIsolatedAllPairsResponseItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MarginIsolatedAllPairsResponseItem
impl RefUnwindSafe for MarginIsolatedAllPairsResponseItem
impl Send for MarginIsolatedAllPairsResponseItem
impl Sync for MarginIsolatedAllPairsResponseItem
impl Unpin for MarginIsolatedAllPairsResponseItem
impl UnwindSafe for MarginIsolatedAllPairsResponseItem
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