pub struct BodBalance {
pub account_id: Option<String>,
pub cash_balance: Option<String>,
pub equity: Option<String>,
pub market_value: Option<String>,
pub buying_power: Option<String>,
pub realized_profit_loss: Option<String>,
pub unrealized_profit_loss: Option<String>,
}Expand description
Beginning-of-day balance snapshot.
Returned by Client::get_bod_balances. Represents account state at market open.
Fields§
§account_id: Option<String>Account identifier.
cash_balance: Option<String>Cash balance at beginning of day.
equity: Option<String>Equity at beginning of day.
market_value: Option<String>Market value at beginning of day.
buying_power: Option<String>Buying power at beginning of day.
realized_profit_loss: Option<String>Realized P&L at beginning of day.
unrealized_profit_loss: Option<String>Unrealized P&L at beginning of day.
Trait Implementations§
Source§impl Clone for BodBalance
impl Clone for BodBalance
Source§fn clone(&self) -> BodBalance
fn clone(&self) -> BodBalance
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 BodBalance
impl Debug for BodBalance
Source§impl<'de> Deserialize<'de> for BodBalance
impl<'de> Deserialize<'de> for BodBalance
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 BodBalance
impl RefUnwindSafe for BodBalance
impl Send for BodBalance
impl Sync for BodBalance
impl Unpin for BodBalance
impl UnsafeUnpin for BodBalance
impl UnwindSafe for BodBalance
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