pub struct RepayRecord {
pub asset: String,
pub amount: f64,
pub interest: f64,
pub principal: f64,
pub timestamp: u64,
pub status: String,
pub isolated_symbol: Option<String>,
pub tx_id: u64,
}Expand description
Repay record.
Fields§
§asset: StringAsset.
amount: f64Amount.
interest: f64Interest.
principal: f64Principal.
timestamp: u64Timestamp.
status: StringStatus (PENDING, CONFIRMED, FAILED).
isolated_symbol: Option<String>Isolated symbol (for isolated margin).
tx_id: u64Transaction ID.
Trait Implementations§
Source§impl Clone for RepayRecord
impl Clone for RepayRecord
Source§fn clone(&self) -> RepayRecord
fn clone(&self) -> RepayRecord
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 RepayRecord
impl Debug for RepayRecord
Source§impl<'de> Deserialize<'de> for RepayRecord
impl<'de> Deserialize<'de> for RepayRecord
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 RepayRecord
impl RefUnwindSafe for RepayRecord
impl Send for RepayRecord
impl Sync for RepayRecord
impl Unpin for RepayRecord
impl UnwindSafe for RepayRecord
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