pub struct TransactionStream {
Show 15 fields pub account_id: String, pub stream_id: String, pub category_id: String, pub category: Vec<String>, pub description: String, pub merchant_name: Option<String>, pub first_date: String, pub last_date: String, pub frequency: RecurringTransactionFrequency, pub transaction_ids: Vec<String>, pub average_amount: TransactionStreamAmount, pub last_amount: TransactionStreamAmount, pub is_active: bool, pub status: TransactionStreamStatus, pub personal_finance_category: Option<PersonalFinanceCategory>,
}

Fields

account_id: String

The ID of the account to which the stream belongs

stream_id: String

A unique id for the stream

category_id: String

The ID of the category to which this transaction belongs. See Categories.

category: Vec<String>

A hierarchical array of the categories to which this transaction belongs. See Categories.

description: String

A description of the transaction stream.

merchant_name: Option<String>

The merchant associated with the transaction stream.

first_date: String

The posted date of the earliest transaction in the stream.

last_date: String

The posted date of the latest transaction in the stream.

frequency: RecurringTransactionFrequency

Describes the frequency of the transaction stream.

WEEKLY: Assigned to a transaction stream that occurs approximately every week.

BIWEEKLY: Assigned to a transaction stream that occurs approximately every 2 weeks.

SEMI_MONTHLY: Assigned to a transaction stream that occurs approximately twice per month. This frequency is typically seen for inflow transaction streams.

MONTHLY: Assigned to a transaction stream that occurs approximately every month.

UNKNOWN: Assigned to a transaction stream that does not fit any of the pre-defined frequencies.

transaction_ids: Vec<String>

An array of Plaid transaction IDs belonging to the stream, sorted by posted date.

average_amount: TransactionStreamAmount

Object with data pertaining to an amount on the transaction stream.

last_amount: TransactionStreamAmount

Object with data pertaining to an amount on the transaction stream.

is_active: bool

Indicates whether the transaction stream is still live.

status: TransactionStreamStatus

The current status of the transaction stream.

MATURE: A MATURE recurring stream should have at least 3 transactions and happen on a regular cadence.

EARLY_DETECTION: When a recurring transaction first appears in the transaction history and before it fulfills the requirement of a mature stream, the status will be EARLY_DETECTION.

TOMBSTONED: A stream that was previously in the EARLY_DETECTION status will move to the TOMBSTONED status when no further transactions were found at the next expected date.

UNKNOWN: A stream is assigned an UNKNOWN status when none of the other statuses are applicable.

personal_finance_category: Option<PersonalFinanceCategory>

Information describing the intent of the transaction. Most relevant for personal finance use cases, but not limited to such use cases.

See the taxonomy csv file for a full list of personal finance categories.

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