aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/transactions_response_data.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/models/transactions_response_data.rs')
-rw-r--r--src/models/transactions_response_data.rs9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/models/transactions_response_data.rs b/src/models/transactions_response_data.rs
index 4ac9438..7c10090 100644
--- a/src/models/transactions_response_data.rs
+++ b/src/models/transactions_response_data.rs
@@ -9,21 +9,18 @@
*/
-#[allow(unused_imports)]
-use serde_json::Value;
-
-#[derive(Debug, Serialize, Deserialize)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
pub struct TransactionsResponseData {
#[serde(rename = "transactions")]
- pub transactions: Vec<::models::TransactionDetail>,
+ pub transactions: Vec<crate::models::TransactionDetail>,
/// The knowledge of the server
#[serde(rename = "server_knowledge")]
pub server_knowledge: i64,
}
impl TransactionsResponseData {
- pub fn new(transactions: Vec<::models::TransactionDetail>, server_knowledge: i64) -> TransactionsResponseData {
+ pub fn new(transactions: Vec<crate::models::TransactionDetail>, server_knowledge: i64) -> TransactionsResponseData {
TransactionsResponseData {
transactions: transactions,
server_knowledge: server_knowledge,