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_detail_all_of.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/models/transaction_detail_all_of.rs') diff --git a/src/models/transaction_detail_all_of.rs b/src/models/transaction_detail_all_of.rs index cead8f5..68f2ebf 100644 --- a/src/models/transaction_detail_all_of.rs +++ b/src/models/transaction_detail_all_of.rs @@ -9,11 +9,8 @@ */ -#[allow(unused_imports)] -use serde_json::Value; - -#[derive(Debug, Serialize, Deserialize)] +#[derive(Debug, PartialEq, Serialize, Deserialize)] pub struct TransactionDetailAllOf { #[serde(rename = "account_name")] pub account_name: String, @@ -23,11 +20,11 @@ pub struct TransactionDetailAllOf { pub category_name: Option, /// If a split transaction, the subtransactions. #[serde(rename = "subtransactions")] - pub subtransactions: Vec<::models::SubTransaction>, + pub subtransactions: Vec, } impl TransactionDetailAllOf { - pub fn new(account_name: String, subtransactions: Vec<::models::SubTransaction>) -> TransactionDetailAllOf { + pub fn new(account_name: String, subtransactions: Vec) -> TransactionDetailAllOf { TransactionDetailAllOf { account_name: account_name, payee_name: None, -- cgit v1.2.3-54-g00ecf