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