From 83fdfc6ef1e702d203d37f182b3c5ba9f9607cc6 Mon Sep 17 00:00:00 2001 From: Ryan Kurte Date: Sun, 7 Jul 2019 14:26:43 +1200 Subject: [PATCH] added debug and clone to stats object --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 55e4e7b..5f75363 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -14,7 +14,7 @@ use serde::{Serialize, Deserialize}; /// /// See: https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Welford's_Online_algorithm for the algorithm -#[derive(Serialize, Deserialize)] +#[derive(Clone, Debug, Serialize, Deserialize)] pub struct Stats { /// Minimum value pub min: T,