pub struct Account {Show 15 fields
pub account_id: String,
pub cash: Decimal,
pub portfolio_value: Decimal,
pub buying_power: Decimal,
pub equity: Decimal,
pub last_equity: Decimal,
pub multiplier: String,
pub currency: String,
pub shorting_enabled: bool,
pub long_market_value: Decimal,
pub short_market_value: Decimal,
pub initial_margin: Decimal,
pub maintenance_margin: Decimal,
pub day_trading_buying_power: Decimal,
pub daytrade_count: i32,
}Expand description
Account information
Fields§
§account_id: String§cash: Decimal§portfolio_value: Decimal§buying_power: Decimal§equity: Decimal§last_equity: Decimal§multiplier: String§currency: String§shorting_enabled: bool§long_market_value: Decimal§short_market_value: Decimal§initial_margin: Decimal§maintenance_margin: Decimal§day_trading_buying_power: Decimal§daytrade_count: i32Trait Implementations§
Source§impl<'de> Deserialize<'de> for Account
impl<'de> Deserialize<'de> for Account
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 Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnwindSafe for Account
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