pub struct QueryMarginRepayResponseRowsItem {
pub amount: String,
pub asset: String,
pub interest: String,
pub isolated_symbol: String,
pub principal: String,
pub status: String,
pub timestamp: i64,
pub tx_id: i64,
}
Expand description
QueryMarginRepayResponseRowsItem
JSON schema
{
"type": "object",
"required": [
"amount",
"asset",
"interest",
"isolatedSymbol",
"principal",
"status",
"timestamp",
"txId"
],
"properties": {
"amount": {
"description": "Total amount repaid",
"examples": [
"14.00000000"
],
"type": "string"
},
"asset": {
"examples": [
"BNB"
],
"type": "string"
},
"interest": {
"description": "Interest repaid",
"examples": [
"0.01866667"
],
"type": "string"
},
"isolatedSymbol": {
"description": "Isolated symbol, will not be returned for crossed margin",
"examples": [
"BNBUSDT"
],
"type": "string"
},
"principal": {
"description": "Principal repaid",
"examples": [
"13.98133333"
],
"type": "string"
},
"status": {
"description": "One of PENDING (pending execution), CONFIRMED (successfully execution), FAILED (execution failed, nothing happened to your account)",
"examples": [
"CONFIRMED"
],
"type": "string"
},
"timestamp": {
"examples": [
1563438204000
],
"type": "integer",
"format": "int64"
},
"txId": {
"examples": [
2970933056
],
"type": "integer",
"format": "int64"
}
}
}
Fields§
§amount: String
Total amount repaid
asset: String
§interest: String
Interest repaid
isolated_symbol: String
Isolated symbol, will not be returned for crossed margin
principal: String
Principal repaid
status: String
One of PENDING (pending execution), CONFIRMED (successfully execution), FAILED (execution failed, nothing happened to your account)
timestamp: i64
§tx_id: i64
Trait Implementations§
Source§impl Clone for QueryMarginRepayResponseRowsItem
impl Clone for QueryMarginRepayResponseRowsItem
Source§fn clone(&self) -> QueryMarginRepayResponseRowsItem
fn clone(&self) -> QueryMarginRepayResponseRowsItem
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 QueryMarginRepayResponseRowsItem
impl<'de> Deserialize<'de> for QueryMarginRepayResponseRowsItem
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<&QueryMarginRepayResponseRowsItem> for QueryMarginRepayResponseRowsItem
impl From<&QueryMarginRepayResponseRowsItem> for QueryMarginRepayResponseRowsItem
Source§fn from(value: &QueryMarginRepayResponseRowsItem) -> Self
fn from(value: &QueryMarginRepayResponseRowsItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for QueryMarginRepayResponseRowsItem
impl RefUnwindSafe for QueryMarginRepayResponseRowsItem
impl Send for QueryMarginRepayResponseRowsItem
impl Sync for QueryMarginRepayResponseRowsItem
impl Unpin for QueryMarginRepayResponseRowsItem
impl UnwindSafe for QueryMarginRepayResponseRowsItem
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