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