pub struct CombinedBalance {
pub currency: String,
pub cash: f64,
pub market_value: f64,
pub total_equity: f64,
pub buying_power: f64,
pub maintenance_excess: f64,
pub is_real_time: bool,
}Expand description
Combined balance across all currencies, expressed in a single currency.
Fields§
§currency: StringCurrency in which combined values are expressed (typically "CAD").
cash: f64Combined cash balance.
market_value: f64Combined market value of all securities.
total_equity: f64Combined total equity (cash + market value).
buying_power: f64Combined available buying power.
maintenance_excess: f64Combined maintenance excess.
is_real_time: boolWhether the values are real-time (true) or delayed (false).
Trait Implementations§
Source§impl Clone for CombinedBalance
impl Clone for CombinedBalance
Source§fn clone(&self) -> CombinedBalance
fn clone(&self) -> CombinedBalance
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 CombinedBalance
impl Debug for CombinedBalance
Source§impl<'de> Deserialize<'de> for CombinedBalance
impl<'de> Deserialize<'de> for CombinedBalance
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 CombinedBalance
impl RefUnwindSafe for CombinedBalance
impl Send for CombinedBalance
impl Sync for CombinedBalance
impl Unpin for CombinedBalance
impl UnsafeUnpin for CombinedBalance
impl UnwindSafe for CombinedBalance
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