pub struct MarginInterestHistoryResponse {
pub rows: Vec<MarginInterestHistoryResponseRowsItem>,
pub total: i32,
}
Expand description
MarginInterestHistoryResponse
JSON schema
{
"type": "object",
"required": [
"rows",
"total"
],
"properties": {
"rows": {
"type": "array",
"items": {
"type": "object",
"required": [
"asset",
"interest",
"interestAccuredTime",
"interestRate",
"isolatedSymbol",
"principal",
"type"
],
"properties": {
"asset": {
"examples": [
"BNB"
],
"type": "string"
},
"interest": {
"examples": [
"0.01866667"
],
"type": "string"
},
"interestAccuredTime": {
"examples": [
1566813600
],
"type": "integer",
"format": "int64"
},
"interestRate": {
"examples": [
"0.01600000"
],
"type": "string"
},
"isolatedSymbol": {
"examples": [
"BNBUSDT"
],
"type": "string"
},
"principal": {
"examples": [
"36.22000000"
],
"type": "string"
},
"type": {
"examples": [
"ON_BORROW"
],
"type": "string"
}
}
}
},
"total": {
"examples": [
1
],
"type": "integer",
"format": "int32"
}
}
}
Fields§
§rows: Vec<MarginInterestHistoryResponseRowsItem>
§total: i32
Trait Implementations§
Source§impl Clone for MarginInterestHistoryResponse
impl Clone for MarginInterestHistoryResponse
Source§fn clone(&self) -> MarginInterestHistoryResponse
fn clone(&self) -> MarginInterestHistoryResponse
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<'de> Deserialize<'de> for MarginInterestHistoryResponse
impl<'de> Deserialize<'de> for MarginInterestHistoryResponse
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<&MarginInterestHistoryResponse> for MarginInterestHistoryResponse
impl From<&MarginInterestHistoryResponse> for MarginInterestHistoryResponse
Source§fn from(value: &MarginInterestHistoryResponse) -> Self
fn from(value: &MarginInterestHistoryResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MarginInterestHistoryResponse
impl RefUnwindSafe for MarginInterestHistoryResponse
impl Send for MarginInterestHistoryResponse
impl Sync for MarginInterestHistoryResponse
impl Unpin for MarginInterestHistoryResponse
impl UnwindSafe for MarginInterestHistoryResponse
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