derive clone, eq for StepperOutcome

This commit is contained in:
vms 2020-10-06 20:50:14 +03:00
parent 0bf13fcdc6
commit 71497738a0

View File

@ -22,14 +22,14 @@ use crate::AquamarineVMError;
use std::convert::TryFrom; use std::convert::TryFrom;
use std::error::Error; use std::error::Error;
#[derive(Debug)] #[derive(Debug, Clone, PartialEq, Eq)]
pub(crate) struct RawStepperOutcome { pub(crate) struct RawStepperOutcome {
pub ret_code: i32, pub ret_code: i32,
pub data: String, pub data: String,
pub next_peer_pks: Vec<String>, pub next_peer_pks: Vec<String>,
} }
#[derive(Debug)] #[derive(Debug, Clone, PartialEq, Eq)]
pub struct StepperOutcome { pub struct StepperOutcome {
pub data: String, pub data: String,
pub next_peer_pks: Vec<String>, pub next_peer_pks: Vec<String>,