Skip to content

Commit dcca1ea

Browse files
authored
Merge pull request #3 from Flicker-Finance/0.1.2
fix(clone): add clone
2 parents 0c52ff3 + 235fc75 commit dcca1ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "indexes-rs"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
edition = "2021"
55
license = "MIT"
66
authors = ["Onik Sahakyan <onik.sahakyan.09@gmail.com>"]

src/v1/roc/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use serde::Serialize;
33
use crate::v1::types::TradingSignal;
44

55
/// The result of an ROC calculation.
6-
#[derive(Debug, Serialize)]
6+
#[derive(Debug, Clone, Serialize)]
77
pub struct ROCResult {
88
/// The calculated ROC value as a percentage.
99
pub value: f64,

0 commit comments

Comments
 (0)