pub struct SubAccountUsdtFuturesDetails {
pub future_account_resp: SubAccountUsdtFuturesDetailsFutureAccountResp,
}
Expand description
SubAccountUsdtFuturesDetails
JSON schema
{
"type": "object",
"required": [
"futureAccountResp"
],
"properties": {
"futureAccountResp": {
"type": "object",
"required": [
"assets",
"canDeposit",
"canTrade",
"canWithdraw",
"email",
"feeTier",
"maxWithdrawAmount",
"totalInitialMargin",
"totalMaintenanceMargin",
"totalMarginBalance",
"totalOpenOrderInitialMargin",
"totalPositionInitialMargin",
"totalUnrealizedProfit",
"totalWalletBalance",
"updateTime"
],
"properties": {
"assets": {
"type": "array",
"items": {
"type": "object",
"required": [
"asset",
"initialMargin",
"maintenanceMargin",
"marginBalance",
"maxWithdrawAmount",
"openOrderInitialMargin",
"positionInitialMargin",
"unrealizedProfit",
"walletBalance"
],
"properties": {
"asset": {
"examples": [
"USDT"
],
"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"
},
"maxWithdrawAmount": {
"examples": [
"0.88308000"
],
"type": "string"
},
"totalInitialMargin": {
"examples": [
"0.00000000"
],
"type": "string"
},
"totalMaintenanceMargin": {
"examples": [
"0.00000000"
],
"type": "string"
},
"totalMarginBalance": {
"examples": [
"0.88308000"
],
"type": "string"
},
"totalOpenOrderInitialMargin": {
"examples": [
"0.00000000"
],
"type": "string"
},
"totalPositionInitialMargin": {
"examples": [
"0.00000000"
],
"type": "string"
},
"totalUnrealizedProfit": {
"examples": [
"0.00000000"
],
"type": "string"
},
"totalWalletBalance": {
"examples": [
"0.88308000"
],
"type": "string"
},
"updateTime": {
"examples": [
1576756674610
],
"type": "integer",
"format": "int64"
}
}
}
}
}
Fields§
§future_account_resp: SubAccountUsdtFuturesDetailsFutureAccountResp
Trait Implementations§
Source§impl Clone for SubAccountUsdtFuturesDetails
impl Clone for SubAccountUsdtFuturesDetails
Source§fn clone(&self) -> SubAccountUsdtFuturesDetails
fn clone(&self) -> SubAccountUsdtFuturesDetails
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 SubAccountUsdtFuturesDetails
impl Debug for SubAccountUsdtFuturesDetails
Source§impl<'de> Deserialize<'de> for SubAccountUsdtFuturesDetails
impl<'de> Deserialize<'de> for SubAccountUsdtFuturesDetails
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<&SubAccountUsdtFuturesDetails> for SubAccountUsdtFuturesDetails
impl From<&SubAccountUsdtFuturesDetails> for SubAccountUsdtFuturesDetails
Source§fn from(value: &SubAccountUsdtFuturesDetails) -> Self
fn from(value: &SubAccountUsdtFuturesDetails) -> Self
Converts to this type from the input type.
Source§impl From<SubAccountUsdtFuturesDetails> for QuerySubAccountFuturesAccountV2Response
impl From<SubAccountUsdtFuturesDetails> for QuerySubAccountFuturesAccountV2Response
Source§fn from(value: SubAccountUsdtFuturesDetails) -> Self
fn from(value: SubAccountUsdtFuturesDetails) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SubAccountUsdtFuturesDetails
impl RefUnwindSafe for SubAccountUsdtFuturesDetails
impl Send for SubAccountUsdtFuturesDetails
impl Sync for SubAccountUsdtFuturesDetails
impl Unpin for SubAccountUsdtFuturesDetails
impl UnwindSafe for SubAccountUsdtFuturesDetails
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