pub struct GetMarginAccountSummaryResponse {Show 17 fields
pub account_state: Option<String>,
pub equity: Option<String>,
pub free_collateral: Option<String>,
pub initial_margin_required: Option<String>,
pub label: Option<String>,
pub maintenance_margin_required: Option<String>,
pub margin_account_id: Option<String>,
pub margin_mode: Option<String>,
pub realized_pnl: Option<String>,
pub risk_bucket_id: Option<String>,
pub selected_trading_pair_ids: Option<Vec<Uuid>>,
pub strategy_key: Option<String>,
pub total_position_notional: Option<String>,
pub trading_pair_id: Option<Uuid>,
pub unrealized_pnl: Option<String>,
pub updated_at: Option<String>,
pub withdrawable_collateral: Option<String>,
}Expand description
GetMarginAccountSummaryResponse
JSON schema
{
"type": "object",
"properties": {
"accountState": {
"type": [
"string",
"null"
]
},
"equity": {
"type": [
"string",
"null"
]
},
"freeCollateral": {
"type": [
"string",
"null"
]
},
"initialMarginRequired": {
"type": [
"string",
"null"
]
},
"label": {
"type": [
"string",
"null"
]
},
"maintenanceMarginRequired": {
"type": [
"string",
"null"
]
},
"marginAccountId": {
"type": [
"string",
"null"
]
},
"marginMode": {
"type": [
"string",
"null"
]
},
"realizedPnl": {
"type": [
"string",
"null"
]
},
"riskBucketId": {
"type": [
"string",
"null"
]
},
"selectedTradingPairIds": {
"type": [
"array",
"null"
],
"items": {
"type": "string",
"format": "uuid",
"minLength": 1
}
},
"strategyKey": {
"type": [
"string",
"null"
]
},
"totalPositionNotional": {
"type": [
"string",
"null"
]
},
"tradingPairId": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"unrealizedPnl": {
"type": [
"string",
"null"
]
},
"updatedAt": {
"type": [
"string",
"null"
]
},
"withdrawableCollateral": {
"type": [
"string",
"null"
]
}
}
}Fields§
§account_state: Option<String>§equity: Option<String>§free_collateral: Option<String>§initial_margin_required: Option<String>§label: Option<String>§maintenance_margin_required: Option<String>§margin_account_id: Option<String>§margin_mode: Option<String>§realized_pnl: Option<String>§risk_bucket_id: Option<String>§selected_trading_pair_ids: Option<Vec<Uuid>>§strategy_key: Option<String>§total_position_notional: Option<String>§trading_pair_id: Option<Uuid>§unrealized_pnl: Option<String>§updated_at: Option<String>§withdrawable_collateral: Option<String>Trait Implementations§
Source§impl Clone for GetMarginAccountSummaryResponse
impl Clone for GetMarginAccountSummaryResponse
Source§fn clone(&self) -> GetMarginAccountSummaryResponse
fn clone(&self) -> GetMarginAccountSummaryResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetMarginAccountSummaryResponse
impl<'de> Deserialize<'de> for GetMarginAccountSummaryResponse
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
Auto Trait Implementations§
impl Freeze for GetMarginAccountSummaryResponse
impl RefUnwindSafe for GetMarginAccountSummaryResponse
impl Send for GetMarginAccountSummaryResponse
impl Sync for GetMarginAccountSummaryResponse
impl Unpin for GetMarginAccountSummaryResponse
impl UnsafeUnpin for GetMarginAccountSummaryResponse
impl UnwindSafe for GetMarginAccountSummaryResponse
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