pub struct LoanVipRepayResponse {
pub collateral_coin: String,
pub current_ltv: String,
pub loan_coin: String,
pub remaining_interest: String,
pub remaining_principal: String,
pub repay_amount: String,
pub repay_status: String,
}
Expand description
LoanVipRepayResponse
JSON schema
{
"type": "object",
"required": [
"collateralCoin",
"currentLTV",
"loanCoin",
"remainingInterest",
"remainingPrincipal",
"repayAmount",
"repayStatus"
],
"properties": {
"collateralCoin": {
"examples": [
"BNB,BTC,ETH"
],
"type": "string"
},
"currentLTV": {
"examples": [
"0.25"
],
"type": "string"
},
"loanCoin": {
"examples": [
"BUSD"
],
"type": "string"
},
"remainingInterest": {
"examples": [
"0"
],
"type": "string"
},
"remainingPrincipal": {
"examples": [
"100.5"
],
"type": "string"
},
"repayAmount": {
"examples": [
"200.5"
],
"type": "string"
},
"repayStatus": {
"description": "Repaid, Repaying, Failed",
"examples": [
"Repaid"
],
"type": "string"
}
}
}
Fields§
§collateral_coin: String
§current_ltv: String
§loan_coin: String
§remaining_interest: String
§remaining_principal: String
§repay_amount: String
§repay_status: String
Repaid, Repaying, Failed
Trait Implementations§
Source§impl Clone for LoanVipRepayResponse
impl Clone for LoanVipRepayResponse
Source§fn clone(&self) -> LoanVipRepayResponse
fn clone(&self) -> LoanVipRepayResponse
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 LoanVipRepayResponse
impl Debug for LoanVipRepayResponse
Source§impl<'de> Deserialize<'de> for LoanVipRepayResponse
impl<'de> Deserialize<'de> for LoanVipRepayResponse
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<&LoanVipRepayResponse> for LoanVipRepayResponse
impl From<&LoanVipRepayResponse> for LoanVipRepayResponse
Source§fn from(value: &LoanVipRepayResponse) -> Self
fn from(value: &LoanVipRepayResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LoanVipRepayResponse
impl RefUnwindSafe for LoanVipRepayResponse
impl Send for LoanVipRepayResponse
impl Sync for LoanVipRepayResponse
impl Unpin for LoanVipRepayResponse
impl UnwindSafe for LoanVipRepayResponse
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