pub struct GetAvailableCollateralResponse {
pub asset: Option<String>,
pub margin_transferable: Option<String>,
pub wallet_available: Option<String>,
pub wallet_locked: Option<String>,
}Expand description
GetAvailableCollateralResponse
JSON schema
{
"type": "object",
"properties": {
"asset": {
"type": [
"string",
"null"
]
},
"margin_transferable": {
"type": [
"string",
"null"
]
},
"wallet_available": {
"type": [
"string",
"null"
]
},
"wallet_locked": {
"type": [
"string",
"null"
]
}
}
}Fields§
§asset: Option<String>§margin_transferable: Option<String>§wallet_available: Option<String>§wallet_locked: Option<String>Trait Implementations§
Source§impl Clone for GetAvailableCollateralResponse
impl Clone for GetAvailableCollateralResponse
Source§fn clone(&self) -> GetAvailableCollateralResponse
fn clone(&self) -> GetAvailableCollateralResponse
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 GetAvailableCollateralResponse
impl<'de> Deserialize<'de> for GetAvailableCollateralResponse
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 GetAvailableCollateralResponse
impl RefUnwindSafe for GetAvailableCollateralResponse
impl Send for GetAvailableCollateralResponse
impl Sync for GetAvailableCollateralResponse
impl Unpin for GetAvailableCollateralResponse
impl UnsafeUnpin for GetAvailableCollateralResponse
impl UnwindSafe for GetAvailableCollateralResponse
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