[][src]Struct alpaca_client::account::Account

pub struct Account {
    pub account_blocked: bool,
    pub account_number: String,
    pub buying_power: Decimal,
    pub cash: Decimal,
    pub created_at: DateTime<Utc>,
    pub currency: String,
    pub daytrade_count: i32,
    pub daytrading_buying_power: Decimal,
    pub equity: Decimal,
    pub id: Uuid,
    pub initial_margin: Decimal,
    pub last_equity: Decimal,
    pub last_maintenance_margin: Decimal,
    pub long_market_value: Decimal,
    pub maintenance_margin: Decimal,
    pub multiplier: String,
    pub pattern_day_trader: bool,
    pub portfolio_value: Decimal,
    pub regt_buying_power: Decimal,
    pub short_market_value: Decimal,
    pub shorting_enabled: bool,
    pub sma: String,
    pub status: String,
    pub trade_suspended_by_user: bool,
    pub trading_blocked: bool,
    pub transfers_blocked: bool,
}

Fields

account_blocked: boolaccount_number: Stringbuying_power: Decimalcash: Decimalcreated_at: DateTime<Utc>currency: Stringdaytrade_count: i32daytrading_buying_power: Decimalequity: Decimalid: Uuidinitial_margin: Decimallast_equity: Decimallast_maintenance_margin: Decimallong_market_value: Decimalmaintenance_margin: Decimalmultiplier: Stringpattern_day_trader: boolportfolio_value: Decimalregt_buying_power: Decimalshort_market_value: Decimalshorting_enabled: boolsma: Stringstatus: Stringtrade_suspended_by_user: booltrading_blocked: booltransfers_blocked: bool

Implementations

impl Account[src]

pub fn get_account(client: &Client) -> Account[src]

Trait Implementations

impl Clone for Account[src]

impl Debug for Account[src]

impl<'de> Deserialize<'de> for Account[src]

impl Serialize for Account[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,