pub struct AccountSummary {
pub currency: Currency,
pub balance: f64,
pub equity: f64,
pub available_funds: f64,
pub margin_balance: f64,
pub unrealized_pnl: f64,
pub realized_pnl: f64,
pub total_pl: f64,
}Expand description
Account summary
Fields§
§currency: Currency§balance: f64§equity: f64§available_funds: f64§margin_balance: f64§unrealized_pnl: f64§realized_pnl: f64§total_pl: f64Trait Implementations§
Source§impl Clone for AccountSummary
impl Clone for AccountSummary
Source§fn clone(&self) -> AccountSummary
fn clone(&self) -> AccountSummary
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 AccountSummary
impl Debug for AccountSummary
Source§impl<'de> Deserialize<'de> for AccountSummary
impl<'de> Deserialize<'de> for AccountSummary
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 AccountSummary
impl RefUnwindSafe for AccountSummary
impl Send for AccountSummary
impl Sync for AccountSummary
impl Unpin for AccountSummary
impl UnwindSafe for AccountSummary
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