Struct questrade::AccountActivity [−][src]
pub struct AccountActivity {Show 14 fields
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,
}
Expand description
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
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 AccountActivity
impl Send for AccountActivity
impl Sync for AccountActivity
impl Unpin for AccountActivity
impl UnwindSafe for AccountActivity
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