pub struct InterestState {
pub asset: String,
pub interest: f64,
pub interest_accured_time: u64,
pub interest_rate: f64,
pub principal: f64,
pub interest_type: InterestType,
pub isolated_symbol: Option<String>,
}Fields§
§asset: String§interest: f64§interest_accured_time: u64§interest_rate: f64§principal: f64§interest_type: InterestType§isolated_symbol: Option<String>Trait Implementations§
Source§impl Clone for InterestState
impl Clone for InterestState
Source§fn clone(&self) -> InterestState
fn clone(&self) -> InterestState
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 InterestState
impl Debug for InterestState
Source§impl<'de> Deserialize<'de> for InterestState
impl<'de> Deserialize<'de> for InterestState
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 InterestState
impl RefUnwindSafe for InterestState
impl Send for InterestState
impl Sync for InterestState
impl Unpin for InterestState
impl UnwindSafe for InterestState
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