aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/bulk_response_data_bulk.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/models/bulk_response_data_bulk.rs')
-rw-r--r--src/models/bulk_response_data_bulk.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/models/bulk_response_data_bulk.rs b/src/models/bulk_response_data_bulk.rs
index 538f48c..4ca0e45 100644
--- a/src/models/bulk_response_data_bulk.rs
+++ b/src/models/bulk_response_data_bulk.rs
@@ -10,6 +10,7 @@
+
#[derive(Debug, PartialEq, Serialize, Deserialize)]
pub struct BulkResponseDataBulk {
/// The list of Transaction ids that were created.
@@ -23,8 +24,8 @@ pub struct BulkResponseDataBulk {
impl BulkResponseDataBulk {
pub fn new(transaction_ids: Vec<String>, duplicate_import_ids: Vec<String>) -> BulkResponseDataBulk {
BulkResponseDataBulk {
- transaction_ids: transaction_ids,
- duplicate_import_ids: duplicate_import_ids,
+ transaction_ids,
+ duplicate_import_ids,
}
}
}