pub struct MarginIsolatedPairResponse {
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
MarginIsolatedPairResponse
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 MarginIsolatedPairResponse
impl Clone for MarginIsolatedPairResponse
Source§fn clone(&self) -> MarginIsolatedPairResponse
fn clone(&self) -> MarginIsolatedPairResponse
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 MarginIsolatedPairResponse
impl Debug for MarginIsolatedPairResponse
Source§impl<'de> Deserialize<'de> for MarginIsolatedPairResponse
impl<'de> Deserialize<'de> for MarginIsolatedPairResponse
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<&MarginIsolatedPairResponse> for MarginIsolatedPairResponse
impl From<&MarginIsolatedPairResponse> for MarginIsolatedPairResponse
Source§fn from(value: &MarginIsolatedPairResponse) -> Self
fn from(value: &MarginIsolatedPairResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MarginIsolatedPairResponse
impl RefUnwindSafe for MarginIsolatedPairResponse
impl Send for MarginIsolatedPairResponse
impl Sync for MarginIsolatedPairResponse
impl Unpin for MarginIsolatedPairResponse
impl UnwindSafe for MarginIsolatedPairResponse
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