aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/transaction_response_data.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-09-14 14:19:01 -0400
committerJesse Luehrs <doy@tozt.net>2019-09-14 14:39:29 -0400
commit4c94e5f9101c14bfc5c6989d11ea6c855c809f0b (patch)
tree4e4e7ba93d41eda4c8a4c5346c3e02fc88d8789d /src/models/transaction_response_data.rs
parenta43423c5f36f8ff6642c9f6ad85800ab38758395 (diff)
downloadynab-api-4c94e5f9101c14bfc5c6989d11ea6c855c809f0b.tar.gz
ynab-api-4c94e5f9101c14bfc5c6989d11ea6c855c809f0b.zip
update openapi spec2.0.0
Diffstat (limited to 'src/models/transaction_response_data.rs')
-rw-r--r--src/models/transaction_response_data.rs9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/models/transaction_response_data.rs b/src/models/transaction_response_data.rs
index 5f96108..e9af627 100644
--- a/src/models/transaction_response_data.rs
+++ b/src/models/transaction_response_data.rs
@@ -9,18 +9,15 @@
*/
-#[allow(unused_imports)]
-use serde_json::Value;
-
-#[derive(Debug, Serialize, Deserialize)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
pub struct TransactionResponseData {
#[serde(rename = "transaction")]
- pub transaction: ::models::TransactionDetail,
+ pub transaction: crate::models::TransactionDetail,
}
impl TransactionResponseData {
- pub fn new(transaction: ::models::TransactionDetail) -> TransactionResponseData {
+ pub fn new(transaction: crate::models::TransactionDetail) -> TransactionResponseData {
TransactionResponseData {
transaction: transaction,
}