pub struct LoanFlexibleRepayResponse {
pub collateral_coin: String,
pub current_ltv: String,
pub full_repayment: bool,
pub loan_coin: String,
pub remaining_collateral: String,
pub remaining_debt: String,
pub repay_status: String,
}
Expand description
LoanFlexibleRepayResponse
JSON schema
{
"type": "object",
"required": [
"collateralCoin",
"currentLTV",
"fullRepayment",
"loanCoin",
"remainingCollateral",
"remainingDebt",
"repayStatus"
],
"properties": {
"collateralCoin": {
"examples": [
"BNB"
],
"type": "string"
},
"currentLTV": {
"examples": [
"50.5"
],
"type": "string"
},
"fullRepayment": {
"examples": [
false
],
"type": "boolean"
},
"loanCoin": {
"examples": [
"BUSD"
],
"type": "string"
},
"remainingCollateral": {
"examples": [
"50.5"
],
"type": "string"
},
"remainingDebt": {
"examples": [
"50.5"
],
"type": "string"
},
"repayStatus": {
"examples": [
"Repaid"
],
"type": "string"
}
}
}
Fields§
§collateral_coin: String
§current_ltv: String
§full_repayment: bool
§loan_coin: String
§remaining_collateral: String
§remaining_debt: String
§repay_status: String
Trait Implementations§
Source§impl Clone for LoanFlexibleRepayResponse
impl Clone for LoanFlexibleRepayResponse
Source§fn clone(&self) -> LoanFlexibleRepayResponse
fn clone(&self) -> LoanFlexibleRepayResponse
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 LoanFlexibleRepayResponse
impl Debug for LoanFlexibleRepayResponse
Source§impl<'de> Deserialize<'de> for LoanFlexibleRepayResponse
impl<'de> Deserialize<'de> for LoanFlexibleRepayResponse
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<&LoanFlexibleRepayResponse> for LoanFlexibleRepayResponse
impl From<&LoanFlexibleRepayResponse> for LoanFlexibleRepayResponse
Source§fn from(value: &LoanFlexibleRepayResponse) -> Self
fn from(value: &LoanFlexibleRepayResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LoanFlexibleRepayResponse
impl RefUnwindSafe for LoanFlexibleRepayResponse
impl Send for LoanFlexibleRepayResponse
impl Sync for LoanFlexibleRepayResponse
impl Unpin for LoanFlexibleRepayResponse
impl UnwindSafe for LoanFlexibleRepayResponse
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