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