pub struct TransferCollateralFromMarginAccountRequest {
pub amount: Option<String>,
pub asset: Option<String>,
pub margin_account_id: Option<String>,
pub strategy_key: Option<String>,
pub trading_pair_id: Option<Uuid>,
}Expand description
TransferCollateralFromMarginAccountRequest
JSON schema
{
"type": "object",
"properties": {
"amount": {
"type": [
"string",
"null"
]
},
"asset": {
"type": [
"string",
"null"
]
},
"marginAccountId": {
"description": "Parent margin account UUID that releases collateral.",
"type": [
"string",
"null"
]
},
"strategyKey": {
"description": "Optional strategy key echoed in responses when callers scope a risk bucket.",
"type": [
"string",
"null"
]
},
"tradingPairId": {
"description": "Optional trading pair UUID used to release collateral from an isolated risk\n bucket under the parent margin account. If omitted, the transfer applies to\n the parent margin account only.",
"type": [
"string",
"null"
],
"format": "uuid"
}
}
}Fields§
§amount: Option<String>§asset: Option<String>§margin_account_id: Option<String>Parent margin account UUID that releases collateral.
strategy_key: Option<String>Optional strategy key echoed in responses when callers scope a risk bucket.
trading_pair_id: Option<Uuid>Optional trading pair UUID used to release collateral from an isolated risk bucket under the parent margin account. If omitted, the transfer applies to the parent margin account only.
Trait Implementations§
Source§impl Clone for TransferCollateralFromMarginAccountRequest
impl Clone for TransferCollateralFromMarginAccountRequest
Source§fn clone(&self) -> TransferCollateralFromMarginAccountRequest
fn clone(&self) -> TransferCollateralFromMarginAccountRequest
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 TransferCollateralFromMarginAccountRequest
impl<'de> Deserialize<'de> for TransferCollateralFromMarginAccountRequest
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 TransferCollateralFromMarginAccountRequest
impl RefUnwindSafe for TransferCollateralFromMarginAccountRequest
impl Send for TransferCollateralFromMarginAccountRequest
impl Sync for TransferCollateralFromMarginAccountRequest
impl Unpin for TransferCollateralFromMarginAccountRequest
impl UnsafeUnpin for TransferCollateralFromMarginAccountRequest
impl UnwindSafe for TransferCollateralFromMarginAccountRequest
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