pub struct GetMarginTransferResponse {
pub rows: Vec<GetMarginTransferResponseRowsItem>,
pub total: i32,
}
Expand description
GetMarginTransferResponse
JSON schema
{
"examples": [
{
"rows": [
{
"amount": "0.10000000",
"asset": "BNB",
"status": "CONFIRMED",
"timestamp": 1566898617,
"txId": 5240372201,
"type": "ROLL_IN"
}
],
"total": 1
}
],
"type": "object",
"required": [
"rows",
"total"
],
"properties": {
"rows": {
"type": "array",
"items": {
"type": "object",
"required": [
"amount",
"asset",
"status",
"timestamp",
"txId",
"type"
],
"properties": {
"amount": {
"type": "string"
},
"asset": {
"type": "string"
},
"status": {
"type": "string"
},
"timestamp": {
"type": "integer",
"format": "int64"
},
"txId": {
"type": "integer",
"format": "int64"
},
"type": {
"type": "string"
}
}
}
},
"total": {
"examples": [
3
],
"type": "integer",
"format": "int32"
}
}
}
Fields§
§rows: Vec<GetMarginTransferResponseRowsItem>
§total: i32
Trait Implementations§
Source§impl Clone for GetMarginTransferResponse
impl Clone for GetMarginTransferResponse
Source§fn clone(&self) -> GetMarginTransferResponse
fn clone(&self) -> GetMarginTransferResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GetMarginTransferResponse
impl Debug for GetMarginTransferResponse
Source§impl<'de> Deserialize<'de> for GetMarginTransferResponse
impl<'de> Deserialize<'de> for GetMarginTransferResponse
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
Source§impl From<&GetMarginTransferResponse> for GetMarginTransferResponse
impl From<&GetMarginTransferResponse> for GetMarginTransferResponse
Source§fn from(value: &GetMarginTransferResponse) -> Self
fn from(value: &GetMarginTransferResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GetMarginTransferResponse
impl RefUnwindSafe for GetMarginTransferResponse
impl Send for GetMarginTransferResponse
impl Sync for GetMarginTransferResponse
impl Unpin for GetMarginTransferResponse
impl UnwindSafe for GetMarginTransferResponse
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