pub struct account {Show 19 fields
pub user_id: String,
pub currency: String,
pub pre_balance: f64,
pub deposit: f64,
pub withdraw: f64,
pub WithdrawQuota: f64,
pub close_profit: f64,
pub commission: f64,
pub premium: f64,
pub static_balance: f64,
pub position_profit: f64,
pub float_profit: f64,
pub balance: f64,
pub margin: f64,
pub frozen_margin: f64,
pub frozen_commission: f64,
pub frozen_premium: f64,
pub available: f64,
pub risk_ratio: f64,
}
Fields§
§user_id: String
§currency: String
§pre_balance: f64
§deposit: f64
§withdraw: f64
§WithdrawQuota: f64
§close_profit: f64
§commission: f64
§static_balance: f64
§position_profit: f64
§float_profit: f64
§balance: f64
§margin: f64
§frozen_margin: f64
§frozen_commission: f64
§available: f64
§risk_ratio: f64
Trait Implementations§
Source§impl<'de> Deserialize<'de> for account
impl<'de> Deserialize<'de> for account
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 account
impl RefUnwindSafe for account
impl Send for account
impl Sync for account
impl Unpin for account
impl UnwindSafe for account
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