pub struct Investments_TransactionsOverride {
    pub date: String,
    pub name: String,
    pub quantity: f64,
    pub price: f64,
    pub fees: Option<f64>,
    pub type_: String,
    pub currency: String,
    pub security: Option<SecurityOverride>,
}

Fields

date: String

Posting date for the transaction. Must be formatted as an ISO 8601 date.

name: String

The institution’s description of the transaction.

quantity: f64

The number of units of the security involved in this transaction. Must be positive if the type is a buy and negative if the type is a sell.

price: f64

The price of the security at which this transaction occurred.

fees: Option<f64>

The combined value of all fees applied to this transaction.

type_: String

The type of the investment transaction. Possible values are: buy: Buying an investment sell: Selling an investment cash: Activity that modifies a cash position fee: A fee on the account transfer: Activity that modifies a position, but not through buy/sell activity e.g. options exercise, portfolio transfer

currency: String

Either a valid iso_currency_code or unofficial_currency_code

security: Option<SecurityOverride>

Specify the security associated with the holding or investment transaction. When inputting custom security data to the Sandbox, Plaid will perform post-data-retrieval normalization and enrichment. These processes may cause the data returned by the Sandbox to be slightly different from the data you input. An ISO-4217 currency code and a security identifier (ticker_symbol, cusip, isin, or sedol) are required.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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