Struct questrade::AccountBalance [−][src]
pub struct AccountBalance {
pub currency: Currency,
pub cash: Number,
pub market_value: Number,
pub total_equity: Number,
pub buying_power: Number,
pub maintenance_excess: Number,
pub is_real_time: bool,
}
Expand description
Account balance for specific currency.
Fields
currency: Currency
Currency of the balance figure.
cash: Number
Balance amount.
market_value: Number
Market value of all securities in the account in a given currency.
total_equity: Number
Equity as a difference between cash and marketValue properties.
buying_power: Number
Buying power for that particular currency side of the account.
maintenance_excess: Number
Maintenance excess for that particular side of the account.
is_real_time: bool
Whether real-time data was used to calculate the above balance.
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AccountBalance
impl Send for AccountBalance
impl Sync for AccountBalance
impl Unpin for AccountBalance
impl UnwindSafe for AccountBalance
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more