pub struct LoanIncomeResponseItem {
pub amount: String,
pub asset: String,
pub timestamp: i64,
pub tran_id: String,
pub type_: String,
}
Expand description
LoanIncomeResponseItem
JSON schema
{
"type": "object",
"required": [
"amount",
"asset",
"timestamp",
"tranId",
"type"
],
"properties": {
"amount": {
"examples": [
"100"
],
"type": "string"
},
"asset": {
"examples": [
"BUSD"
],
"type": "string"
},
"timestamp": {
"examples": [
1633771139847
],
"type": "integer",
"format": "int64"
},
"tranId": {
"examples": [
"80423589583"
],
"type": "string"
},
"type": {
"examples": [
"borrowIn"
],
"type": "string"
}
}
}
Fields§
§amount: String
§asset: String
§timestamp: i64
§tran_id: String
§type_: String
Trait Implementations§
Source§impl Clone for LoanIncomeResponseItem
impl Clone for LoanIncomeResponseItem
Source§fn clone(&self) -> LoanIncomeResponseItem
fn clone(&self) -> LoanIncomeResponseItem
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 LoanIncomeResponseItem
impl Debug for LoanIncomeResponseItem
Source§impl<'de> Deserialize<'de> for LoanIncomeResponseItem
impl<'de> Deserialize<'de> for LoanIncomeResponseItem
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<&LoanIncomeResponseItem> for LoanIncomeResponseItem
impl From<&LoanIncomeResponseItem> for LoanIncomeResponseItem
Source§fn from(value: &LoanIncomeResponseItem) -> Self
fn from(value: &LoanIncomeResponseItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LoanIncomeResponseItem
impl RefUnwindSafe for LoanIncomeResponseItem
impl Send for LoanIncomeResponseItem
impl Sync for LoanIncomeResponseItem
impl Unpin for LoanIncomeResponseItem
impl UnwindSafe for LoanIncomeResponseItem
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