diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-11-07 03:57:33 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-11-07 03:57:33 -0500 |
commit | a942c7c8e17eb829ef1581c0b556665784f19e33 (patch) | |
tree | ff391dc8d22860009bd06f77042cb74d6eb6c1f2 /src/models/transaction_response.rs | |
parent | 4c94e5f9101c14bfc5c6989d11ea6c855c809f0b (diff) | |
download | ynab-api-a942c7c8e17eb829ef1581c0b556665784f19e33.tar.gz ynab-api-a942c7c8e17eb829ef1581c0b556665784f19e33.zip |
update openapi spec and regenerate with newer openapi-generator
the newer openapi-generator picks up fixes for optional parameters,
among other things
Diffstat (limited to 'src/models/transaction_response.rs')
-rw-r--r-- | src/models/transaction_response.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/models/transaction_response.rs b/src/models/transaction_response.rs index 63ff8f1..13e87df 100644 --- a/src/models/transaction_response.rs +++ b/src/models/transaction_response.rs @@ -10,6 +10,7 @@ + #[derive(Debug, PartialEq, Serialize, Deserialize)] pub struct TransactionResponse { #[serde(rename = "data")] @@ -19,7 +20,7 @@ pub struct TransactionResponse { impl TransactionResponse { pub fn new(data: crate::models::TransactionResponseData) -> TransactionResponse { TransactionResponse { - data: data, + data, } } } |