pub struct SubAccountCoinFuturesDetails {
pub assets: Vec<SubAccountCoinFuturesDetailsAssetsItem>,
pub can_deposit: bool,
pub can_trade: bool,
pub can_withdraw: bool,
pub email: String,
pub fee_tier: i64,
pub update_time: i64,
}
Expand description
SubAccountCoinFuturesDetails
JSON schema
{
"type": "object",
"required": [
"assets",
"canDeposit",
"canTrade",
"canWithdraw",
"email",
"feeTier",
"updateTime"
],
"properties": {
"assets": {
"type": "array",
"items": {
"type": "object",
"required": [
"asset",
"initialMargin",
"maintenanceMargin",
"marginBalance",
"maxWithdrawAmount",
"openOrderInitialMargin",
"positionInitialMargin",
"unrealizedProfit",
"walletBalance"
],
"properties": {
"asset": {
"examples": [
"BTC"
],
"type": "string"
},
"initialMargin": {
"examples": [
"0.00000000"
],
"type": "string"
},
"maintenanceMargin": {
"examples": [
"0.00000000"
],
"type": "string"
},
"marginBalance": {
"examples": [
"0.88308000"
],
"type": "string"
},
"maxWithdrawAmount": {
"examples": [
"0.88308000"
],
"type": "string"
},
"openOrderInitialMargin": {
"examples": [
"0.00000000"
],
"type": "string"
},
"positionInitialMargin": {
"examples": [
"0.00000000"
],
"type": "string"
},
"unrealizedProfit": {
"examples": [
"0.00000000"
],
"type": "string"
},
"walletBalance": {
"examples": [
"0.88308000"
],
"type": "string"
}
}
}
},
"canDeposit": {
"type": "boolean"
},
"canTrade": {
"type": "boolean"
},
"canWithdraw": {
"type": "boolean"
},
"email": {
"examples": [
"abc@test.com"
],
"type": "string"
},
"feeTier": {
"examples": [
2
],
"type": "integer",
"format": "int64"
},
"updateTime": {
"examples": [
1598959682001
],
"type": "integer",
"format": "int64"
}
}
}
Fields§
§assets: Vec<SubAccountCoinFuturesDetailsAssetsItem>
§can_deposit: bool
§can_trade: bool
§can_withdraw: bool
§email: String
§fee_tier: i64
§update_time: i64
Trait Implementations§
Source§impl Clone for SubAccountCoinFuturesDetails
impl Clone for SubAccountCoinFuturesDetails
Source§fn clone(&self) -> SubAccountCoinFuturesDetails
fn clone(&self) -> SubAccountCoinFuturesDetails
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 SubAccountCoinFuturesDetails
impl Debug for SubAccountCoinFuturesDetails
Source§impl<'de> Deserialize<'de> for SubAccountCoinFuturesDetails
impl<'de> Deserialize<'de> for SubAccountCoinFuturesDetails
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<&SubAccountCoinFuturesDetails> for SubAccountCoinFuturesDetails
impl From<&SubAccountCoinFuturesDetails> for SubAccountCoinFuturesDetails
Source§fn from(value: &SubAccountCoinFuturesDetails) -> Self
fn from(value: &SubAccountCoinFuturesDetails) -> Self
Converts to this type from the input type.
Source§impl From<SubAccountCoinFuturesDetails> for QuerySubAccountFuturesAccountV2Response
impl From<SubAccountCoinFuturesDetails> for QuerySubAccountFuturesAccountV2Response
Source§fn from(value: SubAccountCoinFuturesDetails) -> Self
fn from(value: SubAccountCoinFuturesDetails) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SubAccountCoinFuturesDetails
impl RefUnwindSafe for SubAccountCoinFuturesDetails
impl Send for SubAccountCoinFuturesDetails
impl Sync for SubAccountCoinFuturesDetails
impl Unpin for SubAccountCoinFuturesDetails
impl UnwindSafe for SubAccountCoinFuturesDetails
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