pub struct TransferCollateralToMarginAccountRequest {
pub amount: Option<String>,
pub asset: Option<String>,
pub margin_account_id: Option<String>,
}Expand description
TransferCollateralToMarginAccountRequest
JSON schema
{
"type": "object",
"properties": {
"amount": {
"type": [
"string",
"null"
]
},
"asset": {
"type": [
"string",
"null"
]
},
"margin_account_id": {
"description": "Margin account UUID whose current isolated bucket receives collateral.",
"type": [
"string",
"null"
]
}
}
}Fields§
§amount: Option<String>§asset: Option<String>§margin_account_id: Option<String>Margin account UUID whose current isolated bucket receives collateral.
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