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: StringPosting date for the transaction. Must be formatted as an ISO 8601 date.
name: StringThe institution’s description of the transaction.
quantity: f64The 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: f64The price of the security at which this transaction occurred.
fees: Option<f64>The combined value of all fees applied to this transaction.
type_: StringThe 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: StringEither 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
sourceimpl<'de> Deserialize<'de> for Investments_TransactionsOverride
impl<'de> Deserialize<'de> for Investments_TransactionsOverride
sourcefn 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 RefUnwindSafe for Investments_TransactionsOverride
impl Send for Investments_TransactionsOverride
impl Sync for Investments_TransactionsOverride
impl Unpin for Investments_TransactionsOverride
impl UnwindSafe for Investments_TransactionsOverride
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more