From 4c94e5f9101c14bfc5c6989d11ea6c855c809f0b Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 14 Sep 2019 14:19:01 -0400 Subject: update openapi spec --- src/models/transaction_response_data.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/models/transaction_response_data.rs') 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, } -- cgit v1.2.3-54-g00ecf