pub struct LoanFlexibleCollateralDataResponse {
pub rows: Vec<LoanFlexibleCollateralDataResponseRowsItem>,
pub total: i32,
}
Expand description
LoanFlexibleCollateralDataResponse
JSON schema
{
"type": "object",
"required": [
"rows",
"total"
],
"properties": {
"rows": {
"type": "array",
"items": {
"type": "object",
"required": [
"collateralCoin",
"initialLTV",
"liquidationLTV",
"marginCallLTV",
"maxLimit"
],
"properties": {
"collateralCoin": {
"examples": [
"BNB"
],
"type": "string"
},
"initialLTV": {
"examples": [
"0.01"
],
"type": "string"
},
"liquidationLTV": {
"examples": [
"0.8"
],
"type": "string"
},
"marginCallLTV": {
"examples": [
"0.7"
],
"type": "string"
},
"maxLimit": {
"examples": [
"1000000"
],
"type": "string"
}
}
}
},
"total": {
"examples": [
1
],
"type": "integer",
"format": "int32"
}
}
}
Fields§
§rows: Vec<LoanFlexibleCollateralDataResponseRowsItem>
§total: i32
Trait Implementations§
Source§impl Clone for LoanFlexibleCollateralDataResponse
impl Clone for LoanFlexibleCollateralDataResponse
Source§fn clone(&self) -> LoanFlexibleCollateralDataResponse
fn clone(&self) -> LoanFlexibleCollateralDataResponse
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 LoanFlexibleCollateralDataResponse
impl<'de> Deserialize<'de> for LoanFlexibleCollateralDataResponse
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<&LoanFlexibleCollateralDataResponse> for LoanFlexibleCollateralDataResponse
impl From<&LoanFlexibleCollateralDataResponse> for LoanFlexibleCollateralDataResponse
Source§fn from(value: &LoanFlexibleCollateralDataResponse) -> Self
fn from(value: &LoanFlexibleCollateralDataResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LoanFlexibleCollateralDataResponse
impl RefUnwindSafe for LoanFlexibleCollateralDataResponse
impl Send for LoanFlexibleCollateralDataResponse
impl Sync for LoanFlexibleCollateralDataResponse
impl Unpin for LoanFlexibleCollateralDataResponse
impl UnwindSafe for LoanFlexibleCollateralDataResponse
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