aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/save_transactions_response_data.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/models/save_transactions_response_data.rs')
-rw-r--r--src/models/save_transactions_response_data.rs9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/models/save_transactions_response_data.rs b/src/models/save_transactions_response_data.rs
index 0086874..0b76b5e 100644
--- a/src/models/save_transactions_response_data.rs
+++ b/src/models/save_transactions_response_data.rs
@@ -9,20 +9,17 @@
*/
-#[allow(unused_imports)]
-use serde_json::Value;
-
-#[derive(Debug, Serialize, Deserialize)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
pub struct SaveTransactionsResponseData {
/// The transaction ids that were saved
#[serde(rename = "transaction_ids")]
pub transaction_ids: Vec<String>,
#[serde(rename = "transaction", skip_serializing_if = "Option::is_none")]
- pub transaction: Option<::models::TransactionDetail>,
+ pub transaction: Option<crate::models::TransactionDetail>,
/// If multiple transactions were specified, the transactions that were saved
#[serde(rename = "transactions", skip_serializing_if = "Option::is_none")]
- pub transactions: Option<Vec<::models::TransactionDetail>>,
+ pub transactions: Option<Vec<crate::models::TransactionDetail>>,
/// If multiple transactions were specified, a list of import_ids that were not created because of an existing import_id found on the same account
#[serde(rename = "duplicate_import_ids", skip_serializing_if = "Option::is_none")]
pub duplicate_import_ids: Option<Vec<String>>,