pub struct AccountBalances {
pub per_currency_balances: Vec<PerCurrencyBalance>,
pub combined_balances: Vec<CombinedBalance>,
pub sod_per_currency_balances: Vec<PerCurrencyBalance>,
pub sod_combined_balances: Vec<CombinedBalance>,
}Expand description
Current and start-of-day balances for a Questrade account.
Returned by GET /v1/accounts/:id/balances.
Fields§
§per_currency_balances: Vec<PerCurrencyBalance>Real-time balances broken down by currency.
combined_balances: Vec<CombinedBalance>Real-time balances combined across currencies (expressed in CAD).
sod_per_currency_balances: Vec<PerCurrencyBalance>Start-of-day balances broken down by currency.
sod_combined_balances: Vec<CombinedBalance>Start-of-day balances combined across currencies (expressed in CAD).
Trait Implementations§
Source§impl Clone for AccountBalances
impl Clone for AccountBalances
Source§fn clone(&self) -> AccountBalances
fn clone(&self) -> AccountBalances
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 AccountBalances
impl Debug for AccountBalances
Source§impl<'de> Deserialize<'de> for AccountBalances
impl<'de> Deserialize<'de> for AccountBalances
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 AccountBalances
impl RefUnwindSafe for AccountBalances
impl Send for AccountBalances
impl Sync for AccountBalances
impl Unpin for AccountBalances
impl UnsafeUnpin for AccountBalances
impl UnwindSafe for AccountBalances
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