pub struct TransferCollateralToMarginAccountRequest {
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
TransferCollateralToMarginAccountRequest
JSON schema
{
"type": "object",
"properties": {
"amount": {
"type": [
"string",
"null"
]
},
"asset": {
"type": [
"string",
"null"
]
},
"marginAccountId": {
"description": "Parent margin account UUID that receives 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 allocate collateral to 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 receives 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 allocate collateral to 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 TransferCollateralToMarginAccountRequest
impl Clone for TransferCollateralToMarginAccountRequest
Source§fn clone(&self) -> TransferCollateralToMarginAccountRequest
fn clone(&self) -> TransferCollateralToMarginAccountRequest
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 TransferCollateralToMarginAccountRequest
impl<'de> Deserialize<'de> for TransferCollateralToMarginAccountRequest
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 TransferCollateralToMarginAccountRequest
impl RefUnwindSafe for TransferCollateralToMarginAccountRequest
impl Send for TransferCollateralToMarginAccountRequest
impl Sync for TransferCollateralToMarginAccountRequest
impl Unpin for TransferCollateralToMarginAccountRequest
impl UnsafeUnpin for TransferCollateralToMarginAccountRequest
impl UnwindSafe for TransferCollateralToMarginAccountRequest
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