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