[][src]Struct questrade_rs::AccountActivity

pub struct AccountActivity {
    pub trade_date: DateTime<Utc>,
    pub transaction_date: DateTime<Utc>,
    pub settlement_date: DateTime<Utc>,
    pub action: String,
    pub symbol: String,
    pub symbol_id: u32,
    pub description: String,
    pub currency: String,
    pub quantity: Number,
    pub price: Number,
    pub gross_amount: Number,
    pub commission: Number,
    pub net_amount: Number,
    pub activity_type: String,
}

An activity that occurred in an account

Fields

trade_date: DateTime<Utc>

Trade date.

transaction_date: DateTime<Utc>

Date of the transaction.

settlement_date: DateTime<Utc>

Date the trade was settled.

action: String

Activity action.

symbol: String

Symbol name.

symbol_id: u32

Internal unique symbol identifier.

description: String

Textual description of the activity

currency: String

Activity currency (ISO format).

quantity: Number

Number of items exchanged in the activity

price: Number

Price of the items

gross_amount: Number

Gross amount of the action, before fees

commission: Number

Questrade commission amount

net_amount: Number

Net amount of the action, after fees

activity_type: String

Type of activity.

Trait Implementations

impl Clone for AccountActivity[src]

impl Debug for AccountActivity[src]

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

impl PartialEq<AccountActivity> for AccountActivity[src]

impl Serialize for AccountActivity[src]

impl StructuralPartialEq for AccountActivity[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.