pub struct MarginInterestRateHistoryResponseItem {
pub asset: String,
pub daily_interest_rate: String,
pub timestamp: i64,
pub vip_level: i32,
}
Expand description
MarginInterestRateHistoryResponseItem
JSON schema
{
"type": "object",
"required": [
"asset",
"dailyInterestRate",
"timestamp",
"vipLevel"
],
"properties": {
"asset": {
"examples": [
"BTC"
],
"type": "string"
},
"dailyInterestRate": {
"examples": [
"0.00025000"
],
"type": "string"
},
"timestamp": {
"examples": [
1611544731000
],
"type": "integer",
"format": "int64"
},
"vipLevel": {
"examples": [
1
],
"type": "integer",
"format": "int32"
}
}
}
Fields§
§asset: String
§daily_interest_rate: String
§timestamp: i64
§vip_level: i32
Trait Implementations§
Source§impl Clone for MarginInterestRateHistoryResponseItem
impl Clone for MarginInterestRateHistoryResponseItem
Source§fn clone(&self) -> MarginInterestRateHistoryResponseItem
fn clone(&self) -> MarginInterestRateHistoryResponseItem
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 MarginInterestRateHistoryResponseItem
impl<'de> Deserialize<'de> for MarginInterestRateHistoryResponseItem
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<&MarginInterestRateHistoryResponseItem> for MarginInterestRateHistoryResponseItem
impl From<&MarginInterestRateHistoryResponseItem> for MarginInterestRateHistoryResponseItem
Source§fn from(value: &MarginInterestRateHistoryResponseItem) -> Self
fn from(value: &MarginInterestRateHistoryResponseItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MarginInterestRateHistoryResponseItem
impl RefUnwindSafe for MarginInterestRateHistoryResponseItem
impl Send for MarginInterestRateHistoryResponseItem
impl Sync for MarginInterestRateHistoryResponseItem
impl Unpin for MarginInterestRateHistoryResponseItem
impl UnwindSafe for MarginInterestRateHistoryResponseItem
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