From 71497738a0ce25f80a3f7a6d5c4cdbc10f08419c Mon Sep 17 00:00:00 2001 From: vms Date: Tue, 6 Oct 2020 20:50:14 +0300 Subject: [PATCH] derive clone, eq for StepperOutcome --- aquamarine-vm/src/stepper_outcome.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aquamarine-vm/src/stepper_outcome.rs b/aquamarine-vm/src/stepper_outcome.rs index 0818a36b..9da771e9 100644 --- a/aquamarine-vm/src/stepper_outcome.rs +++ b/aquamarine-vm/src/stepper_outcome.rs @@ -22,14 +22,14 @@ use crate::AquamarineVMError; use std::convert::TryFrom; use std::error::Error; -#[derive(Debug)] +#[derive(Debug, Clone, PartialEq, Eq)] pub(crate) struct RawStepperOutcome { pub ret_code: i32, pub data: String, pub next_peer_pks: Vec, } -#[derive(Debug)] +#[derive(Debug, Clone, PartialEq, Eq)] pub struct StepperOutcome { pub data: String, pub next_peer_pks: Vec,