Struct plaid_openapi::model::TransactionStream
source · [−]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: StringThe ID of the account to which the stream belongs
stream_id: StringA unique id for the stream
category_id: StringThe 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: StringA description of the transaction stream.
merchant_name: Option<String>The merchant associated with the transaction stream.
first_date: StringThe posted date of the earliest transaction in the stream.
last_date: StringThe posted date of the latest transaction in the stream.
frequency: RecurringTransactionFrequencyDescribes 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: TransactionStreamAmountObject with data pertaining to an amount on the transaction stream.
last_amount: TransactionStreamAmountObject with data pertaining to an amount on the transaction stream.
is_active: boolIndicates whether the transaction stream is still live.
status: TransactionStreamStatusThe 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
sourceimpl Debug for TransactionStream
impl Debug for TransactionStream
sourceimpl<'de> Deserialize<'de> for TransactionStream
impl<'de> Deserialize<'de> for TransactionStream
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
sourceimpl Serialize for TransactionStream
impl Serialize for TransactionStream
Auto Trait Implementations
impl RefUnwindSafe for TransactionStream
impl Send for TransactionStream
impl Sync for TransactionStream
impl Unpin for TransactionStream
impl UnwindSafe for TransactionStream
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