Struct plaid::transactions::Transaction [−][src]
Fields
transaction_id: StringThe unique ID of the transaction. Like all Plaid identifiers, the transaction_id is case sensitive.
account_owner: Option<String>The name of the account owner. This field is not typically populated and only relevant when dealing with sub-accounts.
pending_transaction_id: Option<String>The ID of a posted transaction's associated pending transaction, where applicable.
pending: boolWhen true, identifies the transaction as pending or unsettled. Pending transaction details (name, type, amount, category ID) may change before they are settled.
payment_channel: StringThe channel used to make a payment. Possible values: online, in store, other
payment_meta: PaymentMetaTransaction information specific to inter-bank transfers. If the transaction was not an inter-bank transfer, all fields will be null.
name: StringThe merchant name or transaction description.
merchant_name: Option<String>The merchant name, as extracted by Plaid from the name field.
location: LocationA representation of where a transaction took place
The date that the transaction was authorized. Dates are returned in an ISO 8601 format ( YYYY-MM-DD ).
Date and time when a transaction was authorized in ISO 8601 format ( YYYY-MM-DDTHH:mm:ssZ ).
date: NaiveDateFor pending transactions, the date that the transaction occurred; for posted transactions, the date that the transaction posted. Both dates are returned in an ISO 8601 format ( YYYY-MM-DD ).
datetime: Option<DateTime<Utc>>Date and time when a transaction was posted in ISO 8601 format ( YYYY-MM-DDTHH:mm:ssZ ).
category_id: StringThe ID of the category to which this transaction belongs.
category: Option<Vec<String>>A hierarchical array of the categories to which this transaction belongs
unofficial_currency_code: Option<String>The unofficial currency code associated with the transaction.
iso_currency_code: Option<String>The ISO-4217 currency code of the transaction.
amount: f64The settled value of the transaction, denominated in the account's currency, as stated in iso_currency_code or unofficial_currency_code. Positive values when money moves out of the account; negative values when money moves in. For example, debit card purchases are positive; credit card payments, direct deposits, and refunds are negative.
account_id: StringThe ID of the account in which this transaction occurred.
transaction_code: Option<String>An identifier classifying the transaction type. This field is only populated for European institutions. For institutions in the US and Canada, this field is set to null. Possible values: adjustment, atm, bank charge, bill payment, cash, cashback, cheque, direct debit, interest, purchase, standing order, transfer, null
Trait Implementations
impl Clone for Transaction[src]
fn clone(&self) -> Transaction[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for Transaction[src]
impl<'de> Deserialize<'de> for Transaction[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for Transaction[src]
impl Send for Transaction[src]
impl Sync for Transaction[src]
impl Unpin for Transaction[src]
impl UnwindSafe for Transaction[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,