pub struct InterestHistoryRecord {
pub asset: String,
pub interest: f64,
pub interest_accured_time: u64,
pub interest_rate: f64,
pub principal: f64,
pub interest_type: String,
pub isolated_symbol: Option<String>,
}Expand description
Interest history record.
Fields§
§asset: StringAsset.
interest: f64Interest.
interest_accured_time: u64Interest accrue time.
interest_rate: f64Interest rate.
principal: f64Principal.
interest_type: StringInterest type.
isolated_symbol: Option<String>Isolated symbol (for isolated margin).
Trait Implementations§
Source§impl Clone for InterestHistoryRecord
impl Clone for InterestHistoryRecord
Source§fn clone(&self) -> InterestHistoryRecord
fn clone(&self) -> InterestHistoryRecord
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 InterestHistoryRecord
impl Debug for InterestHistoryRecord
Source§impl<'de> Deserialize<'de> for InterestHistoryRecord
impl<'de> Deserialize<'de> for InterestHistoryRecord
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
Auto Trait Implementations§
impl Freeze for InterestHistoryRecord
impl RefUnwindSafe for InterestHistoryRecord
impl Send for InterestHistoryRecord
impl Sync for InterestHistoryRecord
impl Unpin for InterestHistoryRecord
impl UnwindSafe for InterestHistoryRecord
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