pub struct LoanRepayHistoryResponseRowsItem {
pub collateral_coin: String,
pub collateral_return: String,
pub collateral_used: String,
pub loan_coin: String,
pub order_id: i64,
pub repay_amount: String,
pub repay_status: String,
pub repay_time: i64,
pub repay_type: String,
}
Expand description
LoanRepayHistoryResponseRowsItem
JSON schema
{
"type": "object",
"required": [
"collateralCoin",
"collateralReturn",
"collateralUsed",
"loanCoin",
"orderId",
"repayAmount",
"repayStatus",
"repayTime",
"repayType"
],
"properties": {
"collateralCoin": {
"examples": [
"BNB"
],
"type": "string"
},
"collateralReturn": {
"examples": [
"49.27565492"
],
"type": "string"
},
"collateralUsed": {
"examples": [
"0"
],
"type": "string"
},
"loanCoin": {
"examples": [
"BUSD"
],
"type": "string"
},
"orderId": {
"examples": [
756783308056935434
],
"type": "integer",
"format": "int64"
},
"repayAmount": {
"examples": [
"10000"
],
"type": "string"
},
"repayStatus": {
"description": "'repayType': '1' // 1 for 'repay with borrowed coin', 2 for 'repay with collateral' 'repayStatus': 'Repaid' // Repaid, Repaying, Failed",
"examples": [
"Repaid"
],
"type": "string"
},
"repayTime": {
"examples": [
1575018510000
],
"type": "integer",
"format": "int64"
},
"repayType": {
"examples": [
"1"
],
"type": "string"
}
}
}
Fields§
§collateral_coin: String
§collateral_return: String
§collateral_used: String
§loan_coin: String
§order_id: i64
§repay_amount: String
§repay_status: String
‘repayType’: ‘1’ // 1 for ‘repay with borrowed coin’, 2 for ‘repay with collateral’ ‘repayStatus’: ‘Repaid’ // Repaid, Repaying, Failed
repay_time: i64
§repay_type: String
Trait Implementations§
Source§impl Clone for LoanRepayHistoryResponseRowsItem
impl Clone for LoanRepayHistoryResponseRowsItem
Source§fn clone(&self) -> LoanRepayHistoryResponseRowsItem
fn clone(&self) -> LoanRepayHistoryResponseRowsItem
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 LoanRepayHistoryResponseRowsItem
impl<'de> Deserialize<'de> for LoanRepayHistoryResponseRowsItem
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<&LoanRepayHistoryResponseRowsItem> for LoanRepayHistoryResponseRowsItem
impl From<&LoanRepayHistoryResponseRowsItem> for LoanRepayHistoryResponseRowsItem
Source§fn from(value: &LoanRepayHistoryResponseRowsItem) -> Self
fn from(value: &LoanRepayHistoryResponseRowsItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LoanRepayHistoryResponseRowsItem
impl RefUnwindSafe for LoanRepayHistoryResponseRowsItem
impl Send for LoanRepayHistoryResponseRowsItem
impl Sync for LoanRepayHistoryResponseRowsItem
impl Unpin for LoanRepayHistoryResponseRowsItem
impl UnwindSafe for LoanRepayHistoryResponseRowsItem
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