Struct plaid::model::TransactionsSyncResponse
source · pub struct TransactionsSyncResponse {
pub added: Vec<Transaction>,
pub has_more: bool,
pub modified: Vec<Transaction>,
pub next_cursor: String,
pub removed: Vec<RemovedTransaction>,
pub request_id: String,
}
Expand description
TransactionsSyncResponse defines the response schema for /transactions/sync
Fields§
§added: Vec<Transaction>
Transactions that have been added to the Item since cursor
ordered by ascending last modified time.
has_more: bool
Represents if more than requested count of transaction updates exist. If true, the additional updates can be fetched by making an additional request with cursor
set to next_cursor
. If has_more
is true, it’s important to pull all available pages, to make it less likely for underlying data changes to conflict with pagination.
modified: Vec<Transaction>
Transactions that have been modified on the Item since cursor
ordered by ascending last modified time.
next_cursor: String
Cursor used for fetching any future updates after the latest update provided in this response. The cursor obtained after all pages have been pulled (indicated by has_more
being false
) will be valid for at least 1 year. This cursor should be persisted for later calls. If transactions are not yet available, this will be an empty string.
removed: Vec<RemovedTransaction>
Transactions that have been removed from the Item since cursor
ordered by ascending last modified time.
request_id: String
A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
Trait Implementations§
source§impl Clone for TransactionsSyncResponse
impl Clone for TransactionsSyncResponse
source§fn clone(&self) -> TransactionsSyncResponse
fn clone(&self) -> TransactionsSyncResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more